【问题标题】:Adjust Volume In Google Native-Client在 Google Native-Client 中调整音量
【发布时间】:2016-09-21 17:37:28
【问题描述】:

我使用 google chrome native-client (nacl) 编写了媒体/流播放器。问题是 Pepper 音频 API 没有控制音频电平的功能。有没有办法在播放时用 nacl 调节音量?

[编辑]

我已经通过手动更改音频样本缓冲区中的音量解决了这个问题。

【问题讨论】:

    标签: c++ c google-chrome google-chrome-extension google-nativeclient


    【解决方案1】:

    包含插件的网页可以使用 chrome.audio API 来执行此操作。不幸的是,这仅适用于开发频道 Chrome。

    https://developer.chrome.com/apps/audio

    【讨论】:

    • 谢谢,但是当播放器在生产中发布时,我不能告诉用户使用开发频道的 chrome.. :(
    猜你喜欢
    • 1970-01-01
    • 2015-07-02
    • 1970-01-01
    • 2023-03-31
    • 2015-01-22
    • 2016-10-31
    • 2011-04-18
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多