Re: [Alsa-user] Unable to play mu-law files
Brought to you by:
perex
From: Takashi I. <ti...@su...> - 2006-03-30 13:37:54
|
At Thu, 30 Mar 2006 15:07:55 +0200, Clemens Ladisch wrote: > > Moshe Yudkowsky wrote: > > I am unable to play mu-law files. > > ALSA does support mu-Law. > > > If I try > > > > aplay file.wav > > > > I get the error message > > > > aplay: test_wavefile:726: can't play not PCM-coded WAVE-files > > Aplay's module for reading .wav files does not support Mu-Law. > > You can try to avoid the stupid .wav reader by using > > aplay -t raw -f MU_LAW file.wav > > but then the first few header bytes will be interpreted as audio data > and played as garbage. Also don't forget to specify the sample rate and the number of channels, too when you use raw type. Takashi |