• 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
Cocoa trying to play a SMF midi file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa trying to play a SMF midi file


  • Subject: Cocoa trying to play a SMF midi file
  • From: Ian OKeeffe <email@hidden>
  • Date: Thu, 01 Dec 2005 13:08:38 +0000
  • Thread-topic: Cocoa trying to play a SMF midi file


Good afternoon.

I am trying to get a button in a basic cocoa interface to play a midi file
(*.mid or whatever). I am trying to use the following functions, but with no
success:

NewMusicSequence()
MusicSequenceLoadSMF()
NewMusicPlayer(&player);
MusicPlayerSetSequence();
MusicPlayerStart();

On build time, I get undefined symbols for the 5 functions. I have included
<AudioToolbox/AudioToolbox.h>.

Do I need to include something else, or am I trying to put Carbon into
Cocoa, or something?

Any help would be great.

Ian


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: NSTableView Restoring State
  • Next by Date: Re: more than one plist in a file.
  • Previous by thread: Re: NSTableView Restoring State
  • Next by thread: Re: bindings and NSNumberFormatter
  • Index(es):
    • Date
    • Thread