On Sat, May 30, 2009 at 11:21 PM, Roger Dannenberg <[email protected]> wrote:
>
>> WARNING: alsa_abort not implemented
>>
>>
> Means that while portmidi offers an abort function that abruptly stops
> output, this is not implemented in the alsa version. I'm not sure if
> that's a limitation of alsa or just an incomplete implementation. I'm
> guessing this hasn't come up because people rarely call abort. I'll look
> into it.
>
Ah ok.
Do you think it's ok to just call Pm_Close? I'm trying to think when
abort would be needed, when Pm_Close seems like it can close up
itself?
This is the current dealloc method, which gets called when an Output
object is closed.
def __dealloc__(self):
if self.debug: print "Closing MIDI output stream and
destroying instance"
err = Pm_Abort(self.midi)
if err < 0: raise Exception, Pm_GetErrorText(err)
err = Pm_Close(self.midi)
if err < 0: raise Exception, Pm_GetErrorText(err)
cheers,
> I'm not sure about the OSX stat message. I'll have to look. There's some
> relatively new code for preferences, and Stephen Pope mentioned
> something about preferences changing in OSX (if I understood his
> message). I've been holding out on installing 10.5, but I guess there
> are enough incompatibilities that I need to do that to maintain PortMidi.
>
> NIME conference is in less than one week (we're hosting it at Carnegie
> Mellon), but I'll try to devote some time to these issues soon.
>
> -Roger
>
NIME looks like it'd be fun :)
_______________________________________________
media_api mailing list
[email protected]
http://lists.create.ucsb.edu/mailman/listinfo/media_api