Notices


Reply
Thread Tools
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#1
I have noticed that the built-in media player of the N900 uses 20-40% (average ~30%) of the CPU (pulseaudio & dbusfw) when playing simple MP3 files. Other media players are worse than that. Is so much power usage really needed or is there a more simple audio player? I can remember my times with an old Siemens S65 which was able to play MP3s while writing a SMS and listening a loong time and it had a very slow processor compared to the N900.
 
Posts: 21 | Thanked: 8 times | Joined on Dec 2009
#2
I've never seen very much strain on the battery by listening to mp3s on the sd card.
Batterylife seems to be only really dependent on network connections.
 
Flandry's Avatar
Posts: 1,559 | Thanked: 1,786 times | Joined on Oct 2009 @ Boston
#3
Plugging in headphones should help. It bypasses certain filtering passes. From what i've heard, it sounds like encoding the audio to 48 instead off 44 Hz would also help, because otherwise it has to be done on-the-fly. I'd be interested to see a comparison of playback time (or at least processor usage) with these two changes.

Something like what Tuomas did with ogg and mp3 for his testing on the ogg support. See his comments in this blog: http://tuomas.kulve.fi/blog/
__________________

Unofficial PR1.3/Meego 1.1 FAQ

***
Classic example of arbitrary Nokia decision making. Couldn't just fallback to the no brainer of tagging with lat/lon if network isn't accessible, could you Nokia?
MAME: an arcade in your pocket
Accelemymote: make your accelerometer more joy-ful
 
Posts: 207 | Thanked: 154 times | Joined on Nov 2009
#4
Originally Posted by DaSilva View Post
Is so much power usage really needed or is there a more simple audio player?
That power usage isn't necessarily much, taken N900 is good at CPU throttling?
 
Posts: 1,255 | Thanked: 393 times | Joined on Oct 2009 @ US
#5
I am not having the CPU hog problem with the stock player. Between the two processes running, they total 12 to 14% of CPU. This is with playing 192kb and similar level VBR mp3's.
 
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#6
Maybe it is because of the stream but I lose 20-25% percent points of the battery every hour just by listening (display off).
 
Posts: 21 | Thanked: 8 times | Joined on Dec 2009
#7
This is weird and totally unusual. I can listen to at least a few hours without seeing any impact on the battery....
 
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#8
The CPU usage varies between using the speakers vs the headphones.
On mine

Headphones

14.3 % /usr/bin/mafw-dbus-wrapper mafw-gst-renderer
13.7 % /usr/bin/pulseaudio --system --high-priority

Speakers

14.3 % /usr/bin/mafw-dbus-wrapper mafw-gst-renderer
26.6 % /usr/bin/pulseaudio --system --high-priority

The reason is that Pulse-audio monitors the sound when using speakers to prevent it damaging them
__________________
N900_Email_Options Wiki Page
 

The Following 2 Users Say Thank You to mikec For This Useful Post:
Posts: 353 | Thanked: 263 times | Joined on Dec 2009 @ Finland
#9
I installed Music Player Daemon on my device and controlled it with my own client CuteMPC (https://garage.maemo.org/projects/cutempc/) and the total CPU usage was about 10% lower (and memory usage also a few MB less) than with the original player. There was some problems with sound (mutes every now and then), but I think that might be because I have something wrong with MPD configuration (wrong audio device or something).
 

The Following User Says Thank You to TNiga For This Useful Post:
Posts: 729 | Thanked: 155 times | Joined on Dec 2009
#10
Sounds great.
Any plans to release it to extras?
 
Reply


 
Forum Jump


All times are GMT. The time now is 08:38.