Search code examples
androidiosairflash-buildermicrophone

Acoustic Echo Cancellation with Adobe Air on mobile


Does anybody achieved echo cancellation in mobile application built by Adobe Air?

There are:

  • Microphone.getEnhancedMicrophone() but it returns null on mobile device.

  • Microphone.setUseEchoSuppression(true) also doesn't work.

  • Maybe with ANE? I saw echo suppression settings in Apple Docs

Anybody?


Solution

  • It is now implemented in the latest AIR SDKs (v22 and v23).

    https://helpx.adobe.com/flash-player/release-note/fp_23_air_23_release_notes.html

    So you can now use Microphone.getEnhancedMicrophone().

    And you will also need to add this permission for Android:

    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />