2

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.

Taras
  • 2,526
  • 3
  • 33
  • 63
  • Have you ever been able to get this working with a USB audio input? Running it on the Nexus 9 and it doesn't seem to work. – seanAshmore Apr 23 '16 at 20:31

2 Answers2

2

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.

Gerry
  • 1,223
  • 9
  • 17
-1

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

Anonymous Me
  • 1,108
  • 2
  • 9
  • 26