Вопрос

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