[linux-audio-dev] Re: How to use the alsa sequencer?
smcameron at yahoo.com
Sun Jun 18 08:34:18 EDT 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:
Then it works with aconnect.
Thanks for reading my newbie ramblings...
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
More information about the linux-audio-dev