Amos
Amos

Reputation: 2670

Does anyone know how to use the MediaSyncEvent to sync playback and capture?

Reference doc:
https://developer.android.com/reference/android/media/MediaSyncEvent.html

As I'm working on AEC (Acoustic Echo Cancellation), using the Speex library

speex_echo_cancellation();

I found that the received audio data in speaker thread (playback) and recorded audio data in microphone thread (capture), they are needed to be sync, but I failed to do so. I wonder MediaSyncEvent would help on this?

If not, anyone know how to make the audio data of playback and capture be sync?

Upvotes: 6

Views: 291

Answers (0)

Related Questions