No one has an answer for me? On 10 Feb., 04:24, Martin <[email protected]> wrote: > Hi! > > I am programming a game with fast graphics. The MediaPlayer is > stuttering sometimes. > When I have the MediaPlayer in a service, it does not stutter, but > some people here adviced me not to use services if they should stop > automatically when the user ends my application. > > So how can I set the thread-priority of the MediaPlayer-Object? > SoundPool uses the MediaPlayer and with SoundPool, you can set the > thread-priority, but I cannot add my audio-file to SoundPool, because > its size is about 2mb (too big for SoundPool). > > I can lower my main-thread-priority so that the MediaPlayer has a > relatively higher priority, but isn't this a bad idea? > > Greetings, > Martin
-- 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

