From: Garett Shulman <shulmang@colorado.edu>
To: alsa-devel@lists.sourceforge.net
Subject: Re: sequencer filter client
Date: Mon, 26 Jan 2004 20:44:42 -0700 [thread overview]
Message-ID: <4015DEAA.2040301@colorado.edu> (raw)
In-Reply-To: <Pine.HPX.4.33n.0401261453170.24795-100000@studcom.urz.uni-halle.de>
Clemens Ladisch wrote:
>Garett Shulman wrote:
>
>
>>Hello, I am trying to create a very simple midi filter client for the
>>alsa sequencer based on aseqview-0.1.4. I have alsa 0.9.8. This code
>>shows the input and the output port in aconnect when executed. And, when
>>the raw_midi client is connected The callback does get called when I
>>play keys on my piano. However, Its as though the message is getting
>>sent back to this client and not on to the next client.
>>
>>int process_event(port_t *p, int type, snd_seq_event_t *ev, int *priate_data)
>>{
>> port_write_event(p, ev, 0);
>>}
>>
>>
>
>The event will be sent to the destination as specified in ev->dest.
>For events you have just received, the destination is your own
>client/port.
>
>Call snd_seq_ev_set_source(ev, ?) to set your source port, and call
>snd_seq_ev_set_subs(ev) to specify that the event is to be sent to all
>ports subscribed to your port.
>
>
>HTH
>Clemens
>
>
>
This does help. Thank you. -Garett
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
prev parent reply other threads:[~2004-01-27 3:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-23 21:26 sequencer filter client Garett Shulman
2004-01-26 13:57 ` Clemens Ladisch
2004-01-27 3:44 ` Garett Shulman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4015DEAA.2040301@colorado.edu \
--to=shulmang@colorado.edu \
--cc=alsa-devel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.