[linux-audio-dev] Re: How to use the alsa sequencer?

Pedro Lopez-Cabanillas pedro.lopez.cabanillas at gmail.com
Sun Jun 18 17:24:11 UTC 2006


On Sunday, 18 June 2006, Stephen Cameron wrote:
> > Hi,
> >
> > I'm trying to figure out how to use the ALSA sequencer
> > with my app.  (to date, I've been just using raw midi).
[..]
> But if I take out this line
>
>         snd_seq_ev_set_dest(&ev, 128, 0);
>
> And replace it with:
>
>          snd_seq_ev_set_dest(&ev, SND_SEQ_EVENT_PORT_SUBSCRIBED, 0);
>
> And try to use aconnect to connect things together, it doesn't
> seem to work.
>
> So, there's some piece of the puzzle regarding how aconnect
> works that I'm missing.

snd_seq_ev_set_subs(&ev);

I guess you may want to generate the ALSA library documentation from the 
sources with doxygen. It is also available online:
http://www.alsa-project.org/alsa-doc/alsa-lib/seq.html

Regards,
Pedro



More information about the Linux-audio-dev mailing list