[wdmaudiodev] Call MIDI methods in Audio thread

  • From: Kevin Molcard <kevin.molcard@xxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 09 Aug 2010 14:36:49 +0200

I am working on an audio application that have to send MIDI message to an external MIDI device. My question is simple and maybe the answer is trivial but I prefer ask it before starting to code. Is it safe to call MIDI methods (midiOutShortMsg and midiOutLongMsg) in the audio thread? If think this is not the case because MIDI hosts have to send MIDI messages to device in real time.


Thanks
Kevin


******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: