On my N1, my player spends around 15-30% of its time generating the audio data. The my player app has focus everything sounds fine, but when I start another app that also requires a lot of cpu time the sounds start to stutter badly.
Using top and ps on the N1, I can see that the applications that causes my sounds to stutter, have a nice value of 0 (THREAD_PRIORITY_DEFAULT). It puzzles me why these applications get more attention from the scheduler,than my thread, which runs at nice level -16 (THREAD_PRIORITY_AUDIO). On Thu, Apr 15, 2010 at 04:01, ani <[email protected]> wrote: > So what you are trying to say is in-between(time it takes to play the > audio) the audio writes you are doing some > cpu intensive operations which is causing this stuttering ??? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<android-developers%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > > To unsubscribe, reply using "remove me" as the subject. > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

