[alsa-devel] [PATCH] Add support for gain in softvol plugin
Steve Longerbeam
stevel at embeddedalley.com
Fri May 4 18:27:40 CEST 2007
Jaroslav Kysela wrote:
> On Thu, 3 May 2007, Steve Longerbeam wrote:
>
>
>> Jaroslav Kysela wrote:
>>
>>> On Thu, 3 May 2007, Steve Longerbeam wrote:
>>>
>>>
>>>
>>>> Hi all,
>>>>
>>>> What do you think of this patch? I tested this using a stac9205 HDA codec with
>>>> all sample formats supported by softvol (s32, s16, s24, big and little
>>>> endian).
>>>>
>>>>
>>> I would not add extra defines to alsa.conf:
>>>
>>> +defaults.pcm.dsnoop_softvol.card defaults.pcm.card
>>> +defaults.pcm.dsnoop_softvol.device defaults.pcm.device
>>>
>>> Simply reuse pcm.dsnoop.card / device.
>>>
>>>
>> Hi Jaroslav,
>>
>> How do I do this exactly? Should I add:
>>
>> @args.CARD {
>> type string
>> default {
>> @func refer
>> name defaults.pcm.card
>>
>
> Replace with: name defaults.pcm.dsnoop.card
>
> Please, resend your patch with this modification. Thanks.
>
ok, here it is again, with CARD/DEV defaults moved out of alsa.conf and
into dsnoop_softvol.conf.
Steve
-------------- next part --------------
A non-text attachment was scrubbed...
Name: softvol-gain.2.patch
Type: text/x-patch
Size: 13494 bytes
Desc: not available
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20070504/99e89d19/attachment-0001.patch
More information about the Alsa-devel
mailing list