• 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
Automatically stop MusicPlayer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automatically stop MusicPlayer


  • Subject: Automatically stop MusicPlayer
  • From: Kimo Johnson <email@hidden>
  • Date: Thu, 5 Sep 2002 11:25:31 -0400

Hello,

I am working on a simple MIDI file player using MusicSequenceLoadSMF(), MusicPlayerSetSequence(), MusicPlayerPreroll() and MusicPlayerStart(). The application functions correctly right now when I press the Play and Stop buttons in my interface.

What I need to be able to do is automatically call MusicPlayerStop() when there is no more MIDI data in the file left to play. I've looked through MusicPlayer.h but I can't figure out an easy way to do this. Any suggestions?

Thank you,
Kimo Johnson
_______________________________________________
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.

  • Follow-Ups:
    • Re: Automatically stop MusicPlayer
      • From: Bill Stewart <email@hidden>
  • Prev by Date: Re: Sample code
  • Next by Date: Endpoint refcons are NULL
  • Previous by thread: Re: MIDI Channel 10 on the DLSMusicDevice?
  • Next by thread: Re: Automatically stop MusicPlayer
  • Index(es):
    • Date
    • Thread