Location Of _snd_ctl_ops Definitions

Geraldo Nascimento geraldogabriel at gmail.com
Wed Sep 15 12:18:48 CEST 2021


Hello again, Ryan!

Besides control_hw.c here are the relevant hits I could find:
https://github.com/alsa-project/alsa-lib/search?q=snd_ctl_ops_t

Hope it helps,
Geraldo Nasscimento

On Wed, Sep 15, 2021 at 1:11 PM Geraldo Nascimento
<geraldogabriel at gmail.com> wrote:
>
> Hi, Ryan!
>
> Em Qua, 15 de set de 2021 05:45, Ryan McClue <re.mcclue at protonmail.com> escreveu:
>>
>> The struct _snd_ctl_ops contains a number of function pointers.
>> Where are these functions defined in the alsa-lib source tree, e.g int (*subscribe_events)(snd_ctl_t *handle, int subscribe)
>
>
> Perhaps you are looking for src/control/control_hw.c specifically at line 341?
>
> Thanks,
> Geraldo Nascimento
>
>>
>> --
>> Ryan McClue, Sydney


More information about the Alsa-devel mailing list