On Sunday 01 May 2005 23:45, Chris Cannam wrote:
> I've just committed some work on making the sequencer use separate ALSA
> ports for the Rosegarden playback devices, so that they can be
> controlled externally using an ALSA connection manager as well as from
> within Rosegarden.

Great !!!

> I believe this
> is all pretty much as Pedro was suggesting in an email of a few months
> ago -- correct me if I'm wrong.  It seems a natural way for it to work.

Right. This was my proposal, last month:
http://www.mail-archive.com/[email protected]/msg06387.html

>  -- Connections to multiple other clients.  You can now connect a RG
> play device to any number of other ALSA sequencer clients using an
> external connection manager, but RG will only send events to the one it
> thinks it should be sending them to.  It should send events to all of
> them.  Is this as simple as just not bothering to call
> snd_seq_ev_set_dest to set a destination at all on the event, or will
> it need work traversing the subscription graph (surely not!) for each
> event?  I haven't had time to do any messing with this yet.

Yes it is simple. You only need to change the implementation of 
AlsaDriver::processMidiOut() from this:

    snd_seq_ev_set_dest(&event,
                        outputDevice.first,
                        outputDevice.second);

To this:

    snd_seq_ev_set_subs(&event);


I will try to give a crack to this branch.

Regards,
Pedro



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to