[alsa-devel] distinguish events based on input ports
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
> Yes you can; when delivering broadcast or to-all-subscribers events,
> ALSA sets the event's destination field to the actual destination.
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...
More information about the Alsa-devel