Re: distinguish events based on input ports

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

 



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



_______________________________________________
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