| Sounds to me like portmidi is not very good. Can we use code from the STK instead?
Regards,
Mike
-----Original Message-----
From: Victor Lazzarini
Sent: Nov 2, 2005 2:20 PM
To: csound-devel@lists.sourceforge.net
Subject: [Cs-dev] PortMIDI cleanup
I spotted something that might perhaps be
wrong on pmidi.c. It is actually to do with
porttime; porttime is started with Pt_Start(),
but never stopped with Pt_Stop(). Adding a call
to it to the module destructor allows the portmidi module
to re-start without an error in porttime. I can't
test this, because I don't have a working MIDI, but
I can see that the initialisation seems to be
happening.
Can anyone (Istvan?) add it to the CVS sources, so
that David can test it again? I also have no CVS
access at the moment.
The Portmidi code seems to have global statics everywhere,
no wonder it cannot run in more than one instance.
Perhaps a request to make it re-entrant could be passed
to its developers.
Victor
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |