MIDINotifyProc and modal NSApplication sessions
MIDINotifyProc and modal NSApplication sessions
- Subject: MIDINotifyProc and modal NSApplication sessions
- From: Franz Detro <email@hidden>
- Date: Thu, 17 Sep 2009 13:44:33 +0200
Hi,
when porting an application from Carbon to Cocoa, I've experienced some strange behaviour of the MIDINotifyProc callback:
When a window is running in a modal NSApplication session ([NSApp runModalForWindow: nsWindow]), no CoreMIDI notifications are received until the modal session has ended.
In the documentation of MIDIClientCreate one can find:
DiscussionNote that notifyProc will always be called on the run loop which was current when MIDIClientCreate was first called.
As I understand, when running a modal session the run loop is only in another mode, it's not another run loop, right? So one should receive the notifications also with a modal dialog open.
Can somebody give me some hints here?
Thanks, Franz
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden