Re: [PATCH] - arecord - remove "front" and related devices from the output of list-pcm option of arecord

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2010/7/2 Jaroslav Kysela <perex@xxxxxxxx>

> On Fri, 2 Jul 2010, Raymond Yau wrote:
>
>  2010/7/1 Jaroslav Kysela <perex@xxxxxxxx>
>>
>>  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 ?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux