Sound: omxplayer, mixer, alsa, mplayer
Hi,
since sound playback is my first important task for the Rasbperry Pi, I'm having some issues:
- omxplayer works fine, can switch between local/hdmi, can stream from the internet.
- alsamixer does not work, i.e. the output volume of omxplayer does not change
- mplayer does not work (tried with different -ao), neither does the speaker-test
- dmesg gives weird messages when trying to use mplayer/speaker-test
I can provide outputs of these programs, but you guys can do that yourselves I suppose. The question thus is:
- What does omxplayer do differently, what kind of (strange) libs does it use?
- Is there some mixer that works?
- What does it take to get mplayer to work?
Loving the Pi so far, and happy that there is a Debian image for it ;)
omxplayer does not use ALSA, instead it uses the OpenMAX sound APIs. There have been some fixes to the ALSA drivers for the pi since I made this last image (I need to put out an update to the firmware package).
Thanks for the quick reply. In the meantime, is there any way to adjust volume for OpenMAX programs? Even if its a simple C snippet, I'd be thankful
It may not answer your question exactly but controlling volume on omxplayer is discussed here
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=38&t=7987