I wrote an Android app that receives UDP packets (that are being streamed) and plays then right when they are received. The app works fine until I click on another app on the Android cell phone, at that time I can hear clicking noise.

Is there any way to get ride of this? I thought if I can assign a high priority to the thread responsible to receive and play packets, or if I can assign a high priority to this app may help this.

有帮助吗?

解决方案

If you are trying to change the priority of native threads, then this Post might help you.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top