"Can't set audio parameters: Invalid argument"

Hi,

trying to play a mp3-file I always get a "Can't set audio parameters: Invalid argument" error.
I already checked my alsa-settings, reinstalled MOC, but no luck so far.

I'm running a current Gentoo and installed MOC 2.4.1 via emerge with all useflags except 'debug'.

Any ideas?

Are you sure that MOC is using ALSA?

no.
inbetween I recompiled it with the debug useflag and by running 'mocp -D' I get:

Loading plugins from /usr/lib/moc/decoder_plugins...
Loading plugin libffmpeg_decoder...
OK
Loading plugin libflac_decoder...
OK
Loading plugin libmp3_decoder...
OK
Loading plugin libmusepack_decoder...
OK
Loading plugin libsndfile_formats_decoder...
OK
Loading plugin libspeex_decoder...
OK
Loading plugin libvorbis_decoder...
OK
Running the server...
Trying ALSA...

If you want a look at the logfiles:
http://data.works13.com/moc-logs.tar.bz2

Try adding:
Allow24bitOutput = no
to ~/.moc/config

--
Damian Pietras - MOC developer

hi,

i managed to solve the problem: it was because of a new alsa-version in Gentoo with others experiencing the same same problem. so i downgraded to alsa-lib-1.0.13 and all incl. MOC is working fine now, right as it should ;)