[linux-audio-dev] Re: How to use the alsa sequencer?
Stephen Cameron
smcameron at yahoo.com
Sun Jun 18 12:34:18 UTC 2006
--- Stephen Cameron <smcameron at yahoo.com> wrote:
> 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.
Perusing /usr/include/alsa/seqmid.h cleared up the confusion.
The port number has to be SND_SEQ_ADDRESS_UNKNOWN, not 0,
best accomplished by:
snd_seq_ev_set_subs(&ev);
Then it works with aconnect.
Thanks for reading my newbie ramblings...
-- steve
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Linux-audio-dev
mailing list