ndk-samples icon indicating copy to clipboard operation
ndk-samples copied to clipboard

audio-echo app stops audio are running for a while

Open mahaju opened this issue 5 years ago • 0 comments

I am trying to see if I can modify the audio-echo app for my application

First I am trying out the default application without any changes (except some changes in the app's build.gradle related to compiling a release version)

Phone is Samsung Galaxy S6 Edge with Android 7.0 and the default sample rate and buffer size are 48000 and 240 respectively

The audio simply stopped after letting the app run for some time

Sometimes it stops after 3 minutes, sometimes it keeps running for even more than 10 minutes

I should point out the app is still working, just the audio stops. I can simply press the Stop Echo button on the user interface and click the Start Echo button again to restart audio. However in some cases the audio simply stops after some time and in some cases it doesn't.

Why is this happening and is there a way to fix this issue?

mahaju avatar Feb 19 '20 02:02 mahaju