--- Stephen Cameron <smcameron@email-addr-hidden> 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
Received on Sun Jun 18 16:15:04 2006
This archive was generated by hypermail 2.1.8 : Sun Jun 18 2006 - 16:15:04 EEST