Clemens, Takashi,

Thanks for your response. I have two follow-up questions.


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.

I should have mentioned that I had already tried to use the -f FORMAT before I wrote my original request, but that it fails with the following error:

aplay -t raw -f MU_LAW -r 8000 file.ulaw
Playing raw data 'file.ulaw' : Mu-Law, Rate 8000 Hz, Mono
aplay: set_params:896: Sample format non available

The standard (sox-based) "play" command works:

play -t raw -s b -f U -r 8000 file.ulaw


What I'm trying to understand is:

(a) Why does aplay fail?

(b) How can I create a plug-in entry that plays mu-law? The documentation says that a mu-law plug-in can convert mu-law to linear and vice-versa, but it does not explain *how* to set that up, either way.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to