Reputation: 2576
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.
Upvotes: 2
Views: 8921
Reputation: 1233
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.
Upvotes: 2
Reputation: 1238
Here is the blog by Victor Lazzarini which provides excellent example for recording with OpenSL ES. Atleast this can be your start point.
Upvotes: -1