[alsa-devel] distinguish events based on input ports

Lieven Moors lievenmoors at hotmail.com
Wed Jul 22 17:56:05 CEST 2009


Clemens Ladisch wrote:
> Lieven Moors wrote:
>   
>> I had a question regarding the use of input(read) ports.
>> What I want to do is distinguish events based on the input port
>> they came through. Since the destination of the event is mostly
>> set to 'broadcast', I cannot extract this information from the event
>> itself.
>>     
>
> Yes you can; when delivering broadcast or to-all-subscribers events,
> ALSA sets the event's destination field to the actual destination.
>
>
> HTH
> Clemens
>
>   
Thanks for confirming that. it was my own silly mistake, because i had
used snd_seq_ev_set_subs before trying to filter...

Sorry for that...

greets,

Lieven





More information about the Alsa-devel mailing list