I'm trying to use OpenSL ES for Android in my project in order to provide a low-latency and I found that NDK sample NativeAudio is designed only for recording a short snapshots.

Could you please advise me, where can I find a samples of how to record audio with a long duration? Thanks in advance.

有帮助吗?

解决方案 2

Here is the blog by Victor Lazzarini which provides excellent example for recording with OpenSL ES. Atleast this can be your start point.

其他提示

the native-audio sample is updated to playback in low latency path; a new sample audio-echo is created to loop back audio in low latency path on Android.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top