aplay - How to use device 3 of card 0 ?
Quoted 4 lines
Quoted 1 line
What is the correct syntax for "aplay" to use device 3 of card 0 ?
AFAIK, it should be
aplay -d hw:0,3 file.wav
# aplay --verbose -d hw:0,3 piano.wav Playing WAVE 'piano.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono Plug PCM: Hardware PCM card 0 'au8830' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16buffer_size : 22528period_size : 2048period_time : 46439tick_time : 10000tstamp_mode : NONEperiod_step : 1sleep_min : 0avail_min : 2048xfer_align : 2048start_threshold : 22528stop_threshold : 22528silence_threshold: 0silence_size : 0
boundary : 1476395008
# aplay --verbose -d hw:0,1 piano.wav Playing WAVE 'piano.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono Plug PCM: Hardware PCM card 0 'au8830' device 0 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 44100
exact rate : 44100 (44100/1)
msbits : 16buffer_size : 22528period_size : 2048period_time : 46439tick_time : 10000tstamp_mode : NONEperiod_step : 1sleep_min : 0avail_min : 2048xfer_align : 2048start_threshold : 22528stop_threshold : 22528silence_threshold: 0silence_size : 0
boundary : 1476395008
Is this a bug of "aplay" or au88x0 driver ?
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
At Mon, 07 Mar 2005 20:04:06 +0800,
Quoted 11 lines · Raymond
Quoted 5 lines
Quoted 2 lines
What is the correct syntax for "aplay" to use device 3 of card 0 ?
AFAIK, it should be
aplay -d hw:0,3 file.wav# aplay --verbose -d hw:0,3 piano.wav Playing WAVE 'piano.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Mono Plug PCM: Hardware PCM card 0 'au8830' device 0 subdevice 0
^^^^^^^^^
It's already wrong. Instead of hw:0,3, plug layer is used.
Do you have any definition in ~/.asoundrc or /etc/asound.state? Is /usr/share/alsa/alsa.conf is properly updated from the latest alsa-lib, too?
Takashi
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click