Hi,
when I record a Sun au file in S16_LE format, aplay claims it's in
S16_BE format, and auplay and sox play only noise. This is with 0.9.0rc7.
Regards...
Michael
40: arecord -v -c 2 -f S16_LE -r 44100 -t au foo.au
Recording Sparc Audio 'foo.au' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
Plug PCM: Hardware PCM card 0 'C-Media PCI CMI8738-MC6' device 0 subdevice -1
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16
buffer_size : 16384
period_size : 4096
period_time : 92879
tick_time : 10000
tstamp_mode : NONE
period_step : 1
sleep_min : 0
avail_min : 4096
xfer_align : 4096
start_threshold : 1
stop_threshold : 16384
silence_threshold: 0
silence_size : 0
boundary : 1073741824
Aborted...
41: aplay foo.au
Playing Sparc Audio 'foo.au' : Signed 16 bit Big Endian, Rate 44100 Hz, Stereo
ALSA lib pcm_hw.c:354:(snd_pcm_hw_channel_info) SNDRV_PCM_IOCTL_CHANNEL_INFO failed:
Inappropriate ioctl for device
aplay: set_params:815: Unable to install hw params:
ACCESS: RW_INTERLEAVED
FORMAT: S16_BE
SUBFORMAT: STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (92879 92880)
PERIOD_SIZE: 4096
PERIOD_BYTES: 16384
PERIODS: 4
BUFFER_TIME: (371519 371520)
BUFFER_SIZE: 16384
BUFFER_BYTES: 65536
TICK_TIME: 10000
-------------------------------------------------------
This SF.net email is sponsored by: SlickEdit Inc. Develop an edge.
The most comprehensive and flexible code editor you can use.
Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial.
www.slickedit.com/sourceforge
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user