Noise while playing mp3

Hi,

I have an problem with playing MP3. I'm using MOC player for a long time and everything worked well, but today, i've registered failure - i've compiled new packages (emerge -vuD world) in my system and when i want to play some new music - moc player failed. I've restarted it, because i thought that was alsa modules (which was recompiled), but that's not the problem. Now, when i play some mp3 file (i don't have some else supported format on my hdd), i hear the music, but wery strong noise. alsamixer don't affected anything, other players (like xmms, mplayer) works well. Do anyone know what to do whit this?...I don't have any ideas.

theburn@LAMA ~ $ mocp -V
moc 2.3.0 Build: Nov 1 2005 21:27:38
Compiled with: OSS ALSA DEBUG internet streams resample
theburn@LAMA ~ $ uname -a
Linux LAMA 2.6.14-rc5 #1 SMP PREEMPT Tue Nov 1 19:59:08 CET 2005 i686 AMD Athlon(tm) XP 2000+ AuthenticAMD GNU/Linux

I've tryed streamed ogg and it works as expected.

libsndfile problem?

MOC uses libmad to decode mp3.

--
Damian Pietras - MOC developer

Somebody reported problems with some version of ALSA (alsalib etc). Which version do you use? Does mocp -R oss fixes the problem?

Also, try the newest version of MOC (2.3.2)

--
Damian Pietras - MOC developer

Yeah. That's it. I've tryed OSS and it works. But - how to get it work with ALSA?...I don't like OSS and i've installed alsa-oss compatibility layer only for this test.

Try the newest stable version of alsa.

--
Damian Pietras - MOC developer

I've tried alsa 1.0.9b and 1.0.10, but no worked.

I have the same problem with SuSE 10.0.
The ALSA device is opened with 48khz even if the mp3 is only 44100.
It sounds very noisy.

I have tried MOC 2.3.0, 2.3.1, 2.3.2

MOC with OSS works, OGG will work on OSS and ALSA.
The error occurs only with mp3.

MOC without compiled libresamplerate won't work with mp3 and ALSA.
In the config I have to enable libresamplerate with
ForceSampleRate = 48000.

Other software works great with ALSA