oboe icon indicating copy to clipboard operation
oboe copied to clipboard

OboeTester: should use a foreground service

Open philburk opened this issue 6 years ago • 1 comments

This will make it easier to run in the background with the screen off or when switching apps.

The UI should funnel all audio related control through the service.

philburk avatar Apr 24 '19 23:04 philburk

On a related note: my recoding app, using AAudio with callbacks, needs to record for up to several hours. Is there anything I need to / can do to enable it to withstand app-switching and screen locks, from an AAudio point of view?

Also I'm starting up threads (std::thread) periodically to compress the data - up to about 200ms at a time for 1sec of data on a Samsung S9. It looks as though that processing might be getting affected in the background. Any advice on what to do about that? It's not clear to me what Android rules govern NDK threads in the background.

Thanks in advance.

Tim-Kindberg avatar Jul 01 '19 16:07 Tim-Kindberg

Robert already fixed this.

philburk avatar May 23 '25 21:05 philburk