"android.media.audiofx" supported?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

"android.media.audiofx" supported?

跳至解决方案
894 次查看
torus1000
Contributor V


Hi i.MX Experts,

It seems linuxBSP(gstreamer) supports audiofx.
Does i.MX6Sabre AndroidBSP also support audiofx such as AEC(AcousticEchoCanceler)?

P.S.

I tested startStreaming() in following URL but NULL returned when .create() called. Please see *3

Thanks.

----------

Note:

*1 RTP Streaming using gstreamer fails - gstrtpbin element missing
     https://community.freescale.com/message/400304

*2 http://developer.android.com/reference/android/media/audiofx/AcousticEchoCanceler.html

*3 http://stackoverflow.com/questions/24171184/android-acousticechocanceler-does-not-cancel-out-echo

package com.example.audiotest;
...
import android.media.MediaRecorder;
import android.media.audiofx.AcousticEchoCanceler;
...
public void startStreaming() {
  ...
  recorder = new AudioRecord(MediaRecorder.AudioSource.VOICE_RECOGNITION,sampleRate,channelConfig,audioFormat,minBufSize);
  AcousticEchoCanceler canceler =  AcousticEchoCanceler.create(recorder.getAudioSessionId());
  ...
}

标签 (3)
标记 (1)
0 项奖励
回复
1 解答
707 次查看
igorpadykov
NXP Employee
NXP Employee

Hi torus1000

I am afraid it is not supported by low level, for VoIP

it may be recommended to look at LS1024 products

Applications solutions kit for high performan|Freescale

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
708 次查看
igorpadykov
NXP Employee
NXP Employee

Hi torus1000

I am afraid it is not supported by low level, for VoIP

it may be recommended to look at LS1024 products

Applications solutions kit for high performan|Freescale

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复