[alsa-devel] [PATCH] - arecord - remove "front" and related devices from the output of list-pcm option of arecord
Raymond Yau
superquad.vortex2 at gmail.com
Sat Jul 3 04:36:55 CEST 2010
2010/7/2 Jaroslav Kysela <perex at perex.cz>
> On Fri, 2 Jul 2010, Raymond Yau wrote:
>
> 2010/7/1 Jaroslav Kysela <perex at perex.cz>
>>
>> On Thu, 1 Jul 2010, Raymond Yau wrote:
>>>
>>> Replace "front" device by "hw" device and remove "rear", "center_lfe" ,
>>>
>>>> "side" , "surroundxx" from the output of "arecord -L" since "front"
>>>> device
>>>> cannot be used for capturing and the front device is for playback only
>>>> .
>>>>
>>>>
>>> NAK. Fix alsa-lib/configuration to return proper "IOID".
>>>
>>> Jaroslav
>>>
>>>
>> I guess the hint "IOID" has not implemented , the namehint.c did not add
>> "Input" or "Output" to the hint_list and snd_device_name_get_hint() is
>> unable to retrieve "IOID" from the hint_list
>>
>
> Use device_input and device_output in the hint {} section instead device.
>
> Jaroslav
>
The only conf file which contain device_input and device_output is
alsa-lib/src/conf/pcm/default.conf
hint {
description "Default Audio Device"
device_output {
@func refer
name defaults.pcm.dmix.device
}
device_input {
@func refer
name defaults.pcm.dsnoop.device
}
}
But arecord -L or aplay -L show both dmix:CARD=xxx , dsnopp:CARD=xxx devices
Any example how to set the correct syntax to use device_input and
device_output ?
Do I need to put them in every card's conf file or just pcm/front.conf ?
More information about the Alsa-devel
mailing list