Android suddenly stop playing

I have an application that broadcasts audio content, and sometimes it just stops everyone drunk.

logcat windows show -

Playing AudioHardware Audio Files in Standby

and what is he.

I saw in another thread (pun intended) that someone said it was because he used too many threads. Could this be the reason? this? Can I transfer the audio stream to a higher priority?

Anyway, so that the pcm audio system does not go into standby mode?

+3
source share
1 answer

, , . , AudioRecord, , , , , :

http://hificorder.blogspot.com/

SoundPool. , . , , , , , .

, - .

+2

Source: https://habr.com/ru/post/1745482/


All Articles