[linux-audio-user] sending program change to alsa

Clemens Ladisch clemens at ladisch.de
Wed Jun 22 04:03:06 EDT 2005


Peter Brinkmann wrote:
> I've taken your code snippet and replaced the line
>     snd_seq_ev_set_dest(...)
> by
>     snd_seq_ev_set_broadcast(...)
> expecting to see this event broadcast to any ports
> that'll listen, but I'm not seeing any reception on
> any input port.

This is a bug in the documentation.  It should state that broadcasting
isn't implemented.  (There is some code in the kernel driver, but it
has been disabled.)


To send to all ports subscribed to your port, use
snd_seq_ev_set_subs().


HTH
Clemens




More information about the Linux-audio-user mailing list