Notices


Reply
Thread Tools
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#1
As the topic says, is there anyway to set a higher priority on the music player so it doesn't stutters while doing other stuff on my N900? I don't mind if an app takes 1 second longer to launch, as long as the music still plays.

----------------
Now playing: Tool - Forty Six & 2
 
Posts: 255 | Thanked: 61 times | Joined on Feb 2010
#2
I believe changing the nice level is what you want to do.

http://linux.about.com/library/cmd/blcmdl1_nice.htm
 
hawaii's Avatar
Posts: 1,030 | Thanked: 792 times | Joined on Jun 2009
#3
Try `renice` on a running PID.
 
Posts: 151 | Thanked: 77 times | Joined on Dec 2009
#4
Originally Posted by ear0wax View Post
I believe changing the nice level is what you want to do. [/url]
Dude, nice!

badum psh
 
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#5
The music player is /usr/bin/pulseaudio, right? If so, it doesn't seem to work. It lagged a little bit still. Also the command line options already include --high-priority.

EDIT: Ran 'renice -10 <pulseaudio PID>' but it still lagged sometimes..
EDIT#2: Also ran 'renice -20 <pulseaudio PID>' (the highest priority) but it still lagged.

Last edited by ToJa92; 2010-02-27 at 13:27.
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#6
Pulseaudio is the sound daemon

/usr/bin/mediaplayer is the media player
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#7
the decoding is probably happening in hardware, so what could be happening is that the storage media is not able to feed the hardware fast enough. are there any other read or write activity happening when it stutters?
__________________
Be warned, posts are often line of thoughts at highway speeds...
 
Posts: 322 | Thanked: 305 times | Joined on Sep 2009 @ Espoo, Finland
#8
Originally Posted by tso View Post
the decoding is probably happening in hardware, so what could be happening is that the storage media is not able to feed the hardware fast enough. are there any other read or write activity happening when it stutters?
Stuttering usually happens when rendering webpages or doing something a bit more resource demanding.

I read that nexus one and droid also suffer from this.

Last edited by bbin; 2010-02-27 at 15:15.
 
ToJa92's Avatar
Posts: 1,091 | Thanked: 323 times | Joined on Feb 2010 @ ~
#9
Originally Posted by tso View Post
the decoding is probably happening in hardware, so what could be happening is that the storage media is not able to feed the hardware fast enough. are there any other read or write activity happening when it stutters?
Yes, I guess Firefox uses it's fair share of the memory. Maybe I should disable the disc cache?
 
Posts: 255 | Thanked: 61 times | Joined on Feb 2010
#10
Originally Posted by bbin View Post
Stuttering usually happens when rendering webpages or doing something a bit more resource demanding.

I read that nexus one and droid also suffer from this.
We have a DSP chip, From what i under stand it handles sound processing and network traffic so downloads could cause it. The cpu would be what accually does the rendering.

If you want to see if its the storage bandwith topping out, you could always stick your music on the sd card and test that theroy. I keep all my music on the sd, and i only get shuttering when I get notifaction spamed.

Last edited by ear0wax; 2010-02-28 at 10:55.
 
Reply


 
Forum Jump


All times are GMT. The time now is 12:35.