* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-01 2:26 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-01 2:26 UTC (permalink / raw)
To: alsa-devel
The following issue has been SUBMITTED.
======================================================================
<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-01-2006 04:26 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
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
04-01-06 04:26 Raymond New Issue
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-03 5:16 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-03 5:16 UTC (permalink / raw)
To: alsa-devel
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-03-2006 07:16 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
======================================================================
----------------------------------------------------------------------
Raymond - 04-03-06 07:16
----------------------------------------------------------------------
Refer to
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_alaw
Plugin: A-Law
This plugin converts A-Law samples to linear or linear to A-Law samples
from master A-Law conversion PCM to given slave PCM. The channel count,
format and rate must match for both of them.
How can I write a 'pcm.convert' in .asoundrc to convert S16_LE to A_ALAW
(linear to A-Law samples) ? aplay -v -Dconvert s16_le.wav
Issue History
Date Modified Username Field Change
======================================================================
04-01-06 04:26 Raymond New Issue
04-03-06 07:16 Raymond Note Added: 0009085
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-03 5:36 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-03 5:36 UTC (permalink / raw)
To: alsa-devel
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-03-2006 07:36 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
======================================================================
----------------------------------------------------------------------
Raymond - 04-03-06 07:16
----------------------------------------------------------------------
Refer to
http://www.alsa-project.org/alsa-doc/alsa-lib/pcm_plugins.html#pcm_plugins_alaw
Plugin: A-Law
This plugin converts A-Law samples to linear or linear to A-Law samples
from master A-Law conversion PCM to given slave PCM. The channel count,
format and rate must match for both of them.
How can I write a 'pcm.convert' in .asoundrc to convert S16_LE to A_ALAW
(linear to A-Law samples) ? aplay -v -Dconvert s16_le.wav
----------------------------------------------------------------------
Raymond - 04-03-06 07:36
----------------------------------------------------------------------
pcm.convert {
type alaw
slave {
pcm "hw:0"
format A_LAW
}
}
aplay -v -Dconvert test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
A-Law conversion PCM (A_LAW)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 16
buffer_size : 4096
period_size : 1024
period_time : 128000
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Slave: Hardware PCM card 0 'au8830' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : A_LAW
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 8
buffer_size : 4096
period_size : 1024
period_time : 128000
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 1073741824
It seem that the plugin alaw work , the sound play at expected quality
This mean that aplay/arecord only need to implement read/write the A_LAW
audio in a suitable file format
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
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 14+ messages in thread* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-07 17:32 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-07 17:32 UTC (permalink / raw)
To: alsa-devel
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-07-2006 19:32 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
======================================================================
----------------------------------------------------------------------
Raymond - 04-03-06 07:36
----------------------------------------------------------------------
pcm.convert {
type alaw
slave {
pcm "hw:0"
format A_LAW
}
}
aplay -v -Dconvert test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono
A-Law conversion PCM (A_LAW)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 16
buffer_size : 4096
period_size : 1024
period_time : 128000
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Slave: Hardware PCM card 0 'au8830' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : A_LAW
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 8
buffer_size : 4096
period_size : 1024
period_time : 128000
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 1073741824
It seem that the plugin alaw work , the sound play at expected quality
This mean that aplay/arecord only need to implement read/write the A_LAW
audio in a suitable file format
----------------------------------------------------------------------
tiwai - 04-07-06 19:32
----------------------------------------------------------------------
aplay doesn't support A-law in .au format.
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
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 14+ messages in thread* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-08 5:47 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-08 5:47 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-10 14:52 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-10 14:52 UTC (permalink / raw)
To: alsa-devel
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-10-2006 16:52 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
======================================================================
----------------------------------------------------------------------
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 ?
----------------------------------------------------------------------
tiwai - 04-10-06 16:52
----------------------------------------------------------------------
The OSS emulation doesn't support alaw format conversion, too. It's the
same behavior as OSS/Free.
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
04-10-06 16:52 tiwai Note Added: 0009199
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-11 5:46 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-11 5:46 UTC (permalink / raw)
To: alsa-devel
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-11-2006 07:46 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-10-06 16:52
----------------------------------------------------------------------
The OSS emulation doesn't support alaw format conversion, too. It's the
same behavior as OSS/Free.
----------------------------------------------------------------------
Raymond - 04-11-06 07:46
----------------------------------------------------------------------
cat test.raw > /dev/dsp
vortex: pcm_hwparams Playback channels = 1 format =1 rate = 8000
cat test.raw > /dev/audio
vortex: pcm_hwparams Playback channels = 1 format =20 rate = 8000
It seem that /dev/audio support mu-law only
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
04-10-06 16:52 tiwai Note Added: 0009199
04-11-06 07:46 Raymond Note Added: 0009229
======================================================================
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-20 13:29 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-20 13:29 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1990>
======================================================================
Reported By: Raymond
Assigned To: tiwai
======================================================================
Project: ALSA - utils
Issue ID: 1990
Category: aplay/arecord
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Resolution: not an issue
Fixed in Version:
======================================================================
Date Submitted: 04-01-2006 04:26 CEST
Last Modified: 04-20-2006 15:29 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
======================================================================
----------------------------------------------------------------------
Raymond - 04-11-06 09:41
----------------------------------------------------------------------
cat test.raw > /dev/dsp
vortex: pcm_hwparams Playback channels = 1 format =1 rate = 8000
cat test.raw > /dev/audio
vortex: pcm_hwparams Playback channels = 1 format =20 rate = 8000
It seem that by default
/dev/dsp support U8
/dev/audio support mu-law
if the hardware of sound card support
----------------------------------------------------------------------
tiwai - 04-20-06 15:29
----------------------------------------------------------------------
Yes, _usually_ they are so, but the default status is not strictly
defined.
I see no real bugs, so let's close this one.
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
04-10-06 16:52 tiwai Note Added: 0009199
04-11-06 07:46 Raymond Note Added: 0009229
04-11-06 07:55 Raymond Note Edited: 0009229
04-11-06 09:41 Raymond Note Edited: 0009229
04-20-06 15:29 tiwai Status new => resolved
04-20-06 15:29 tiwai Resolution open => not an issue
04-20-06 15:29 tiwai Assigned To => tiwai
04-20-06 15:29 tiwai Note Added: 0009384
======================================================================
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 14+ messages in thread
* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-24 13:07 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-24 13:07 UTC (permalink / raw)
To: alsa-devel
The following issue has been REOPENED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1990>
======================================================================
Reported By: Raymond
Assigned To: tiwai
======================================================================
Project: ALSA - utils
Issue ID: 1990
Category: aplay/arecord
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
======================================================================
Date Submitted: 04-01-2006 04:26 CEST
Last Modified: 04-24-2006 15:07 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-20-06 15:29
----------------------------------------------------------------------
Yes, _usually_ they are so, but the default status is not strictly
defined.
I see no real bugs, so let's close this one.
----------------------------------------------------------------------
Raymond - 04-24-06 15:07
----------------------------------------------------------------------
Do "type oss" plugin support mu-law ?
It is ok to play mu-law using au88xx driver
http://sourceforge.net/projects/aureal
play mulaw.au
au88xx, alsa-lib-1.0.11 and alsa-plugins-1.0.11 ( oss )
pcm.ossdriver {
type oss
device /dev/dsp
}
aplay -v -Dossdriver test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
ALSA <-> OSS PCM I/O Plugin
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 16384
period_size : 4096
period_time : 92879
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 4096
xfer_align : 4096
start_threshold : 16384
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
aplay -Dossdriver mulaw.au
Playing Sparc Audio 'mulaw.au' : Mu-Law, Rate 8000 Hz, Mono
*** OSS: unsupported format MU_LAW
aplay: set_params:961: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: MU_LAW
SUBFORMAT: STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 128000
PERIOD_SIZE: 1024
PERIOD_BYTES: 1024
PERIODS: 4
BUFFER_TIME: 512000
BUFFER_SIZE: 4096
BUFFER_BYTES: 4096
TICK_TIME: [0 0]
aplay -Dplug:ossdriver mulaw.au
Playing Sparc Audio 'mulaw.au' : Mu-Law, Rate 8000 Hz, Mono
*** OSS: unsupported format MU_LAW
aplay: set_params:961: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: MU_LAW
SUBFORMAT: STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 128000
PERIOD_SIZE: 1024
PERIOD_BYTES: 1024
PERIODS: 4
BUFFER_TIME: 512000
BUFFER_SIZE: 4096
BUFFER_BYTES: 4096
TICK_TIME: 0
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
04-10-06 16:52 tiwai Note Added: 0009199
04-11-06 07:46 Raymond Note Added: 0009229
04-11-06 07:55 Raymond Note Edited: 0009229
04-11-06 09:41 Raymond Note Edited: 0009229
04-20-06 15:29 tiwai Status new => resolved
04-20-06 15:29 tiwai Resolution open => not an issue
04-20-06 15:29 tiwai Assigned To => tiwai
04-20-06 15:29 tiwai Note Added: 0009384
04-24-06 15:07 Raymond Status resolved => feedback
04-24-06 15:07 Raymond Resolution not an issue => reopened
04-24-06 15:07 Raymond Note Added: 0009451
======================================================================
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 14+ messages in thread* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-24 13:48 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-24 13:48 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1990>
======================================================================
Reported By: Raymond
Assigned To: tiwai
======================================================================
Project: ALSA - utils
Issue ID: 1990
Category: aplay/arecord
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Resolution: not an issue
Fixed in Version:
======================================================================
Date Submitted: 04-01-2006 04:26 CEST
Last Modified: 04-24-2006 15:48 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
======================================================================
----------------------------------------------------------------------
Raymond - 04-24-06 15:07
----------------------------------------------------------------------
Do "type oss" plugin support mu-law ?
It is ok to play mu-law using au88xx driver
http://sourceforge.net/projects/aureal
play mulaw.au
au88xx, alsa-lib-1.0.11 and alsa-plugins-1.0.11 ( oss )
pcm.ossdriver {
type oss
device /dev/dsp
}
aplay -v -Dossdriver test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
ALSA <-> OSS PCM I/O Plugin
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 16384
period_size : 4096
period_time : 92879
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 4096
xfer_align : 4096
start_threshold : 16384
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
aplay -Dossdriver mulaw.au
Playing Sparc Audio 'mulaw.au' : Mu-Law, Rate 8000 Hz, Mono
*** OSS: unsupported format MU_LAW
aplay: set_params:961: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: MU_LAW
SUBFORMAT: STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 128000
PERIOD_SIZE: 1024
PERIOD_BYTES: 1024
PERIODS: 4
BUFFER_TIME: 512000
BUFFER_SIZE: 4096
BUFFER_BYTES: 4096
TICK_TIME: [0 0]
aplay -Dplug:ossdriver mulaw.au
Playing Sparc Audio 'mulaw.au' : Mu-Law, Rate 8000 Hz, Mono
*** OSS: unsupported format MU_LAW
aplay: set_params:961: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: MU_LAW
SUBFORMAT: STD
SAMPLE_BITS: 8
FRAME_BITS: 8
CHANNELS: 1
RATE: 8000
PERIOD_TIME: 128000
PERIOD_SIZE: 1024
PERIOD_BYTES: 1024
PERIODS: 4
BUFFER_TIME: 512000
BUFFER_SIZE: 4096
BUFFER_BYTES: 4096
TICK_TIME: 0
----------------------------------------------------------------------
tiwai - 04-24-06 15:48
----------------------------------------------------------------------
Not supported properly by oss plugin. Open another bug if you want to fix
it.
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
04-10-06 16:52 tiwai Note Added: 0009199
04-11-06 07:46 Raymond Note Added: 0009229
04-11-06 07:55 Raymond Note Edited: 0009229
04-11-06 09:41 Raymond Note Edited: 0009229
04-20-06 15:29 tiwai Status new => resolved
04-20-06 15:29 tiwai Resolution open => not an issue
04-20-06 15:29 tiwai Assigned To => tiwai
04-20-06 15:29 tiwai Note Added: 0009384
04-24-06 15:07 Raymond Status resolved => feedback
04-24-06 15:07 Raymond Resolution not an issue => reopened
04-24-06 15:07 Raymond Note Added: 0009451
04-24-06 15:48 tiwai Status feedback => resolved
04-24-06 15:48 tiwai Resolution reopened => not an issue
04-24-06 15:48 tiwai Note Added: 0009453
======================================================================
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 14+ messages in thread* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-24 14:43 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-24 14:43 UTC (permalink / raw)
To: alsa-devel
The following issue has been REOPENED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1990>
======================================================================
Reported By: Raymond
Assigned To: tiwai
======================================================================
Project: ALSA - utils
Issue ID: 1990
Category: aplay/arecord
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
======================================================================
Date Submitted: 04-01-2006 04:26 CEST
Last Modified: 04-24-2006 16:43 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-24-06 15:48
----------------------------------------------------------------------
Not supported properly by oss plugin. Open another bug if you want to fix
it.
----------------------------------------------------------------------
Raymond - 04-24-06 16:43
----------------------------------------------------------------------
Oops occur if user mis-use the plugin (OSS) with OSS enumeration.
ALSA API -> ALSA PLUGIN(OSS) -> OSS ENUMERATION -> ALSA DRIVER
aplay -v -Dossdriver test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
ALSA <-> OSS PCM I/O Plugin
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 16384
period_size : 4096
period_time : 92879
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 4096
xfer_align : 4096
start_threshold : 16384
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
ALSA ../alsa-kernel/core/pcm_lib.c:1839: BUG? ((max >= 0))
dc3fbe6c e1d05c5f e1d092e1 0000072f e1d092d3 e1d093dc dc3fbe9c e20a35b0
00000000 000002aa ffffffea 00000000 ffffffff 00000000 d0da7014
00000000
00000000 dc3fbf34 e20a3c00 daa32394 d0da7014 0000000d 000002aa
00000000
Call Trace: [<e1d05c5f>] snd_pcm_hw_param_near [snd-pcm] 0x25f
(0xdc3fbe70)
[<e1d092e1>] .rodata.str1.1 [snd-pcm] 0x6f1 (0xdc3fbe74)
[<e1d092d3>] .rodata.str1.1 [snd-pcm] 0x6e3 (0xdc3fbe7c)
[<e1d093dc>] .rodata.str1.1 [snd-pcm] 0x7ec (0xdc3fbe80)
[<e20a35b0>] snd_pcm_oss_period_size [snd-pcm-oss] 0x280 (0xdc3fbe88)
[<e20a3c00>] snd_pcm_oss_change_params [snd-pcm-oss] 0x390 (0xdc3fbeb4)
[<e20a4280>] snd_pcm_oss_get_active_substream [snd-pcm-oss] 0x80
(0xdc3fbf38)
[<c0125d66>] update_wall_time [kernel] 0x16 (0xdc3fbf40)
[<c01262a0>] timer_bh [kernel] 0x370 (0xdc3fbf48)
[<e20a5208>] snd_pcm_oss_get_channels [snd-pcm-oss] 0x18 (0xdc3fbf5c)
[<e20a6b38>] snd_pcm_oss_ioctl [snd-pcm-oss] 0x668 (0xdc3fbf70)
[<c0153719>] sys_ioctl [kernel] 0xc9 (0xdc3fbf94)
[<c0109747>] system_call [kernel] 0x33 (0xdc3fbfc0)
ALSA pcm_oss.c:450: BUG? (err >= 0)
dc3fbeb0 e20a3ff2 e20ab25c 000001c2 e20ab24e e20ab2d5 00000000 dca6d838
00000000 00000003 daad4594 dca6d814 c912d414 00000000 00000018
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00300006
00000000
Call Trace: [<e20a3ff2>] snd_pcm_oss_change_params [snd-pcm-oss] 0x782
(0xdc3fbeb4)
[<e20ab25c>] .rodata.str1.1 [snd-pcm-oss] 0x24 (0xdc3fbeb8)
[<e20ab24e>] .rodata.str1.1 [snd-pcm-oss] 0x16 (0xdc3fbec0)
[<e20ab2d5>] .rodata.str1.1 [snd-pcm-oss] 0x9d (0xdc3fbec4)
[<e20a4280>] snd_pcm_oss_get_active_substream [snd-pcm-oss] 0x80
(0xdc3fbf38)
[<c0125d66>] update_wall_time [kernel] 0x16 (0xdc3fbf40)
[<c01262a0>] timer_bh [kernel] 0x370 (0xdc3fbf48)
[<e20a5208>] snd_pcm_oss_get_channels [snd-pcm-oss] 0x18 (0xdc3fbf5c)
[<e20a6b38>] snd_pcm_oss_ioctl [snd-pcm-oss] 0x668 (0xdc3fbf70)
[<c0153719>] sys_ioctl [kernel] 0xc9 (0xdc3fbf94)
[<c0109747>] system_call [kernel] 0x33 (0xdc3fbfc0)
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
04-10-06 16:52 tiwai Note Added: 0009199
04-11-06 07:46 Raymond Note Added: 0009229
04-11-06 07:55 Raymond Note Edited: 0009229
04-11-06 09:41 Raymond Note Edited: 0009229
04-20-06 15:29 tiwai Status new => resolved
04-20-06 15:29 tiwai Resolution open => not an issue
04-20-06 15:29 tiwai Assigned To => tiwai
04-20-06 15:29 tiwai Note Added: 0009384
04-24-06 15:07 Raymond Status resolved => feedback
04-24-06 15:07 Raymond Resolution not an issue => reopened
04-24-06 15:07 Raymond Note Added: 0009451
04-24-06 15:48 tiwai Status feedback => resolved
04-24-06 15:48 tiwai Resolution reopened => not an issue
04-24-06 15:48 tiwai Note Added: 0009453
04-24-06 16:43 Raymond Status resolved => feedback
04-24-06 16:43 Raymond Resolution not an issue => reopened
04-24-06 16:43 Raymond Note Added: 0009468
======================================================================
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 14+ messages in thread* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-24 14:50 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-24 14:50 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1990>
======================================================================
Reported By: Raymond
Assigned To: tiwai
======================================================================
Project: ALSA - utils
Issue ID: 1990
Category: aplay/arecord
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Resolution: not an issue
Fixed in Version:
======================================================================
Date Submitted: 04-01-2006 04:26 CEST
Last Modified: 04-24-2006 16:50 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
======================================================================
----------------------------------------------------------------------
Raymond - 04-24-06 16:43
----------------------------------------------------------------------
Oops occur if user mis-use the plugin (OSS) with OSS enumeration.
ALSA API -> ALSA PLUGIN(OSS) -> OSS ENUMERATION -> ALSA DRIVER
aplay -v -Dossdriver test.wav
Playing WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz,
Mono
ALSA <-> OSS PCM I/O Plugin
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 16384
period_size : 4096
period_time : 92879
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 4096
xfer_align : 4096
start_threshold : 16384
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
ALSA ../alsa-kernel/core/pcm_lib.c:1839: BUG? ((max >= 0))
dc3fbe6c e1d05c5f e1d092e1 0000072f e1d092d3 e1d093dc dc3fbe9c e20a35b0
00000000 000002aa ffffffea 00000000 ffffffff 00000000 d0da7014
00000000
00000000 dc3fbf34 e20a3c00 daa32394 d0da7014 0000000d 000002aa
00000000
Call Trace: [<e1d05c5f>] snd_pcm_hw_param_near [snd-pcm] 0x25f
(0xdc3fbe70)
[<e1d092e1>] .rodata.str1.1 [snd-pcm] 0x6f1 (0xdc3fbe74)
[<e1d092d3>] .rodata.str1.1 [snd-pcm] 0x6e3 (0xdc3fbe7c)
[<e1d093dc>] .rodata.str1.1 [snd-pcm] 0x7ec (0xdc3fbe80)
[<e20a35b0>] snd_pcm_oss_period_size [snd-pcm-oss] 0x280 (0xdc3fbe88)
[<e20a3c00>] snd_pcm_oss_change_params [snd-pcm-oss] 0x390 (0xdc3fbeb4)
[<e20a4280>] snd_pcm_oss_get_active_substream [snd-pcm-oss] 0x80
(0xdc3fbf38)
[<c0125d66>] update_wall_time [kernel] 0x16 (0xdc3fbf40)
[<c01262a0>] timer_bh [kernel] 0x370 (0xdc3fbf48)
[<e20a5208>] snd_pcm_oss_get_channels [snd-pcm-oss] 0x18 (0xdc3fbf5c)
[<e20a6b38>] snd_pcm_oss_ioctl [snd-pcm-oss] 0x668 (0xdc3fbf70)
[<c0153719>] sys_ioctl [kernel] 0xc9 (0xdc3fbf94)
[<c0109747>] system_call [kernel] 0x33 (0xdc3fbfc0)
ALSA pcm_oss.c:450: BUG? (err >= 0)
dc3fbeb0 e20a3ff2 e20ab25c 000001c2 e20ab24e e20ab2d5 00000000 dca6d838
00000000 00000003 daad4594 dca6d814 c912d414 00000000 00000018
00000000
00000000 00000000 00000000 00000000 00000000 00000000 00300006
00000000
Call Trace: [<e20a3ff2>] snd_pcm_oss_change_params [snd-pcm-oss] 0x782
(0xdc3fbeb4)
[<e20ab25c>] .rodata.str1.1 [snd-pcm-oss] 0x24 (0xdc3fbeb8)
[<e20ab24e>] .rodata.str1.1 [snd-pcm-oss] 0x16 (0xdc3fbec0)
[<e20ab2d5>] .rodata.str1.1 [snd-pcm-oss] 0x9d (0xdc3fbec4)
[<e20a4280>] snd_pcm_oss_get_active_substream [snd-pcm-oss] 0x80
(0xdc3fbf38)
[<c0125d66>] update_wall_time [kernel] 0x16 (0xdc3fbf40)
[<c01262a0>] timer_bh [kernel] 0x370 (0xdc3fbf48)
[<e20a5208>] snd_pcm_oss_get_channels [snd-pcm-oss] 0x18 (0xdc3fbf5c)
[<e20a6b38>] snd_pcm_oss_ioctl [snd-pcm-oss] 0x668 (0xdc3fbf70)
[<c0153719>] sys_ioctl [kernel] 0xc9 (0xdc3fbf94)
[<c0109747>] system_call [kernel] 0x33 (0xdc3fbfc0)
----------------------------------------------------------------------
tiwai - 04-24-06 16:50
----------------------------------------------------------------------
It's no Oops but the stack trace output from snd_assert(). It's a bug, of
course, though.
Anyway, PLEASE open another bug. This is out of the topic of this thread
-- "aplay/arecord cannot play/capture A_LAW".
And please show the ALSA version you're using. I cannot see the relevant
assert line found in the message.
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
04-10-06 16:52 tiwai Note Added: 0009199
04-11-06 07:46 Raymond Note Added: 0009229
04-11-06 07:55 Raymond Note Edited: 0009229
04-11-06 09:41 Raymond Note Edited: 0009229
04-20-06 15:29 tiwai Status new => resolved
04-20-06 15:29 tiwai Resolution open => not an issue
04-20-06 15:29 tiwai Assigned To => tiwai
04-20-06 15:29 tiwai Note Added: 0009384
04-24-06 15:07 Raymond Status resolved => feedback
04-24-06 15:07 Raymond Resolution not an issue => reopened
04-24-06 15:07 Raymond Note Added: 0009451
04-24-06 15:48 tiwai Status feedback => resolved
04-24-06 15:48 tiwai Resolution reopened => not an issue
04-24-06 15:48 tiwai Note Added: 0009453
04-24-06 16:43 Raymond Status resolved => feedback
04-24-06 16:43 Raymond Resolution not an issue => reopened
04-24-06 16:43 Raymond Note Added: 0009468
04-24-06 16:50 tiwai Status feedback => resolved
04-24-06 16:50 tiwai Resolution reopened => not an issue
04-24-06 16:50 tiwai Note Added: 0009472
======================================================================
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 14+ messages in thread* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-25 0:59 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-25 0:59 UTC (permalink / raw)
To: alsa-devel
The following issue has been REOPENED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1990>
======================================================================
Reported By: Raymond
Assigned To: tiwai
======================================================================
Project: ALSA - utils
Issue ID: 1990
Category: aplay/arecord
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
======================================================================
Date Submitted: 04-01-2006 04:26 CEST
Last Modified: 04-25-2006 02:59 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-24-06 16:50
----------------------------------------------------------------------
It's no Oops but the stack trace output from snd_assert(). It's a bug, of
course, though.
Anyway, PLEASE open another bug. This is out of the topic of this thread
-- "aplay/arecord cannot play/capture A_LAW".
And please show the ALSA version you're using. I cannot see the relevant
assert line found in the message.
----------------------------------------------------------------------
Raymond - 04-25-06 02:59
----------------------------------------------------------------------
au88xx driver also support A-Law and MU-LAW.
aplay -v -f A_LAW -Dossdriver test.raw
Playing raw data 'test.raw' : A-Law, Rate 8000 Hz, Mono
aplay: set_params:901: Sample format non available
pcm.alawoss {
type alaw
slave {
pcm ossdriver
format S16_LE
}
}
aplay -v -f A_LAW -Dalawoss test.raw
Playing raw data 'test.raw' : A-Law, Rate 8000 Hz, Mono
A-Law conversion PCM (S16_LE)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : A_LAW
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 8
buffer_size : 4096
period_size : 1024
period_time : 128000
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Slave: ALSA <-> OSS PCM I/O Plugin
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 16
buffer_size : 4096
period_size : 1024
period_time : 128000
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 1073741824
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
04-10-06 16:52 tiwai Note Added: 0009199
04-11-06 07:46 Raymond Note Added: 0009229
04-11-06 07:55 Raymond Note Edited: 0009229
04-11-06 09:41 Raymond Note Edited: 0009229
04-20-06 15:29 tiwai Status new => resolved
04-20-06 15:29 tiwai Resolution open => not an issue
04-20-06 15:29 tiwai Assigned To => tiwai
04-20-06 15:29 tiwai Note Added: 0009384
04-24-06 15:07 Raymond Status resolved => feedback
04-24-06 15:07 Raymond Resolution not an issue => reopened
04-24-06 15:07 Raymond Note Added: 0009451
04-24-06 15:48 tiwai Status feedback => resolved
04-24-06 15:48 tiwai Resolution reopened => not an issue
04-24-06 15:48 tiwai Note Added: 0009453
04-24-06 16:43 Raymond Status resolved => feedback
04-24-06 16:43 Raymond Resolution not an issue => reopened
04-24-06 16:43 Raymond Note Added: 0009468
04-24-06 16:50 tiwai Status feedback => resolved
04-24-06 16:50 tiwai Resolution reopened => not an issue
04-24-06 16:50 tiwai Note Added: 0009472
04-25-06 02:59 Raymond Status resolved => feedback
04-25-06 02:59 Raymond Resolution not an issue => reopened
04-25-06 02:59 Raymond Note Added: 0009483
======================================================================
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 14+ messages in thread* [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW
@ 2006-04-25 9:46 bugtrack
0 siblings, 0 replies; 14+ messages in thread
From: bugtrack @ 2006-04-25 9:46 UTC (permalink / raw)
To: alsa-devel
The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1990>
======================================================================
Reported By: Raymond
Assigned To: tiwai
======================================================================
Project: ALSA - utils
Issue ID: 1990
Category: aplay/arecord
Reproducibility: always
Severity: major
Priority: normal
Status: resolved
Resolution: not an issue
Fixed in Version:
======================================================================
Date Submitted: 04-01-2006 04:26 CEST
Last Modified: 04-25-2006 11:46 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
======================================================================
----------------------------------------------------------------------
Raymond - 04-25-06 02:59
----------------------------------------------------------------------
au88xx driver also support A-Law and MU-LAW.
aplay -v -f A_LAW -Dossdriver test.raw
Playing raw data 'test.raw' : A-Law, Rate 8000 Hz, Mono
aplay: set_params:901: Sample format non available
pcm.alawoss {
type alaw
slave {
pcm ossdriver
format S16_LE
}
}
aplay -v -f A_LAW -Dalawoss test.raw
Playing raw data 'test.raw' : A-Law, Rate 8000 Hz, Mono
A-Law conversion PCM (S16_LE)
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : A_LAW
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 8
buffer_size : 4096
period_size : 1024
period_time : 128000
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Slave: ALSA <-> OSS PCM I/O Plugin
Its setup is:
stream : PLAYBACK
access : MMAP_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 8000
exact rate : 8000 (8000/1)
msbits : 16
buffer_size : 4096
period_size : 1024
period_time : 128000
tick_time : 0
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 1024
xfer_align : 1024
start_threshold : 4096
stop_threshold : 4096
silence_threshold: 0
silence_size : 0
boundary : 1073741824
----------------------------------------------------------------------
tiwai - 04-25-06 11:46
----------------------------------------------------------------------
IT IS OFF-TOPIC.
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
04-10-06 16:52 tiwai Note Added: 0009199
04-11-06 07:46 Raymond Note Added: 0009229
04-11-06 07:55 Raymond Note Edited: 0009229
04-11-06 09:41 Raymond Note Edited: 0009229
04-20-06 15:29 tiwai Status new => resolved
04-20-06 15:29 tiwai Resolution open => not an issue
04-20-06 15:29 tiwai Assigned To => tiwai
04-20-06 15:29 tiwai Note Added: 0009384
04-24-06 15:07 Raymond Status resolved => feedback
04-24-06 15:07 Raymond Resolution not an issue => reopened
04-24-06 15:07 Raymond Note Added: 0009451
04-24-06 15:48 tiwai Status feedback => resolved
04-24-06 15:48 tiwai Resolution reopened => not an issue
04-24-06 15:48 tiwai Note Added: 0009453
04-24-06 16:43 Raymond Status resolved => feedback
04-24-06 16:43 Raymond Resolution not an issue => reopened
04-24-06 16:43 Raymond Note Added: 0009468
04-24-06 16:50 tiwai Status feedback => resolved
04-24-06 16:50 tiwai Resolution reopened => not an issue
04-24-06 16:50 tiwai Note Added: 0009472
04-25-06 02:59 Raymond Status resolved => feedback
04-25-06 02:59 Raymond Resolution not an issue => reopened
04-25-06 02:59 Raymond Note Added: 0009483
04-25-06 11:46 Raymond File Added: pcm_oss_mulaw_alaw.patch
04-25-06 11:46 tiwai Status feedback => resolved
04-25-06 11:46 tiwai Resolution reopened => not an issue
04-25-06 11:46 tiwai Note Added: 0009487
======================================================================
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2006-04-25 9:46 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-01 2:26 [ALSA - utils 0001990]: aplay/arecord cannot play/capture A_LAW bugtrack
-- strict thread matches above, loose matches on Subject: below --
2006-04-03 5:16 bugtrack
2006-04-03 5:36 bugtrack
2006-04-07 17:32 bugtrack
2006-04-08 5:47 bugtrack
2006-04-10 14:52 bugtrack
2006-04-11 5:46 bugtrack
2006-04-20 13:29 bugtrack
2006-04-24 13:07 bugtrack
2006-04-24 13:48 bugtrack
2006-04-24 14:43 bugtrack
2006-04-24 14:50 bugtrack
2006-04-25 0:59 bugtrack
2006-04-25 9:46 bugtrack
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.