سؤال

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