Namespaces

Variants
Actions

Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries over the next few weeks. Thanks for all your past and future contributions.

音频输入流无法设置AMR编码模式

From Wiki
Jump to: navigation, search
Article Metadata

兼容于
文章
翻译:
hoolee
最后由 hamishwillee 在 06 Aug 2012 编辑
  • 详细描述

从S60第二版FP2之后,S60手机便开始支持AMR编码格式的音频流。但是AMR输入流却只能使用默认的编码设置,无法进行修改。


大部分的S60手机其缺省的AMR-NB编码模式为5.15kbps(模式1),CMdaAudioInputStream::SetBitRateL(或任何其他的API)无法用来设置其他编码模式。


  • 解决方案

公开的音频流API中没有自定义AMR编码配置的方法。当我们使用AMR-NB MMF将PCM转化为AMR时可以选择自定义的编码模式。这方面的内容可以参考音频编码为AMR时配置CMMFCodec的相关主题。

This page was last modified on 6 August 2012, at 07:22.
128 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×