• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
MIDINotifyProc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MIDINotifyProc


  • Subject: MIDINotifyProc
  • From: "Doug McKenzie" <email@hidden>
  • Date: Wed, 31 Jul 2002 17:39:46 -0700

Hi! I just finished coding my first MIDI app for OS X. Now I want to add a few more features to it. Currently, my app just sends my midi packet lists to the first available destination like this:

MIDIEndPointRef dest = MIDIGetDestination(0);
MIDISend(gOutputPort, dest, &packetList);

I'm wondering how I could use the MIDINotifyProc callback function to allow the user to select to MIDI destination they want to send to (I want the contents of a pop-up menu to be automatically updated when there is a change in the current MIDI setup). I'm not very clear on what a callback function is, and I don't know how to use them. Some Example code would be great! I'm writing my app in Objective-C. ANY help would be greatly appreciated :)

_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Developing a PCI Audio Driver
  • Next by Date: Re: Developing a PCI Audio Driver
  • Previous by thread: Re: Developing a PCI Audio Driver
  • Index(es):
    • Date
    • Thread