[alsa-devel] distinguish events based on input ports

Clemens Ladisch clemens at ladisch.de
Tue Jul 21 15:36:35 CEST 2009

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.


More information about the Alsa-devel mailing list