![]() |
Setting 'high priority' on the Music Player?
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 |
Re: Setting 'high priority' on the Music Player?
I believe changing the nice level is what you want to do.
http://linux.about.com/library/cmd/blcmdl1_nice.htm |
Re: Setting 'high priority' on the Music Player?
Try `renice` on a running PID.
|
Re: Setting 'high priority' on the Music Player?
Quote:
badum psh |
Re: Setting 'high priority' on the Music Player?
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. |
Re: Setting 'high priority' on the Music Player?
Pulseaudio is the sound daemon
/usr/bin/mediaplayer is the media player |
Re: Setting 'high priority' on the Music Player?
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?
|
Re: Setting 'high priority' on the Music Player?
Quote:
I read that nexus one and droid also suffer from this. |
Re: Setting 'high priority' on the Music Player?
Quote:
|
Re: Setting 'high priority' on the Music Player?
Quote:
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. |
Re: Setting 'high priority' on the Music Player?
also thought i would point out any package manager (apt, app manager, easydeb syamptic) will bring the system to a stand still
|
Re: Setting 'high priority' on the Music Player?
Quote:
|
Re: Setting 'high priority' on the Music Player?
there is a system for using compression in ram as swap, but i dont know if its working on N900 yet.
|
Re: Setting 'high priority' on the Music Player?
Quote:
I wonder what different swapness would give us. |
Re: Setting 'high priority' on the Music Player?
odd, i would say it improved the performance on my N800 vs using the SD card as swap.
sure, it will have a performance hit vs straight ram. but when comparing swap and compressed in ram, then what? btw, given the way android handles processes, the benefits there could be minimal vs what one get on the N8x0 or N900, as its more a traditional computer in its process management. |
| All times are GMT. The time now is 00:25. |
vBulletin® Version 3.8.8