Skip to contentSkip to conversation

: aplay/arecord cannot play/capture A_LAW

ALSA - utils 0001990 [email protected] 1 participant 1 message Apr 8, 2006

lore
Share & tools
lore
#0 lore raw

A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1990>
======================================================================
Reported By: Raymond
Assigned To:
======================================================================

Project:                    ALSA - utils
Issue ID:                   1990
Category:                   aplay/arecord
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
======================================================================
Date Submitted:             04-01-2006 04:26 CEST
Last Modified:              04-08-2006 07:47 CEST

======================================================================
Summary: aplay/arecord cannot play/capture A_LAW
Description:
aplay/arecord can play MU_LAW and the sound card support MU_LAW and A_LAW

arecord -D hw:0,0 -f MU_LAW -t au -c 1 -r 8000 test.au

aplay -D hw:0,0 test.au

Try to use -t raw but the quality of A_LAW is very bad when compare with MU_LAW

arecord -D hw:0,0 -f A_LAW -t raw -c 1 -r 8000 test.raw

aplay -D hw:0,0 test.raw

======================================================================

----------------------------------------------------------------------
tiwai - 04-07-06 19:32
----------------------------------------------------------------------
aplay doesn't support A-law in .au format.

----------------------------------------------------------------------
Raymond - 04-08-06 07:47
----------------------------------------------------------------------
cat test.raw > /dev/dsp

or

cat test.raw > /dev/audio

Which of the above will play the sound correctly if test.raw is recorded by arecord -D hw:0,0 -f A_LAW -t raw -c 1 -r 8000 test.raw ?

Issue History
Date Modified Username Field Change
======================================================================

04-01-06 04:26 Raymond        New Issue                                    
04-03-06 07:16 Raymond        Note Added: 0009085                          
04-03-06 07:36 Raymond        Note Added: 0009086                          
04-07-06 19:32 tiwai          Note Added: 0009152                          
04-08-06 07:47 Raymond        Note Added: 0009171                          

======================================================================

-------------------------------------------------------
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