audio-echo app stops audio are running for a while

Open
#689 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
28/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, cpp

Research direction

Start with the audio-echo app and its build.gradle settings, then reproduce on a Samsung Galaxy S6 Edge running Android 7.0 with a 48000 sample rate and 240 buffer size. Compare the running audio with the Stop Echo and Start Echo controls; done means identifying why audio stops after several minutes and preventing the stop without requiring a restart.

Written by the indexing model from the issue text.

Description

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?

Dominant language
C++
Stars
10.5k
Forks
4.2k
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from android/ndk-samples

All issues in android/ndk-samples

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.