• 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
Re: Speeding up MusicPlayerStart()?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Speeding up MusicPlayerStart()?


  • Subject: Re: Speeding up MusicPlayerStart()?
  • From: Edwin Vane <email@hidden>
  • Date: Mon, 10 Oct 2005 11:53:57 -0400
  • Mail-followup-to: CoreAudio/Midi List <email@hidden>

After finding example code for MusicPlayer in the AUViewTest I noticed
that by creating the graph with a DLSSynth in it yourself and using
AUGraphStart(), when you call MusicPlayerStart() later the delay is less than
1ms.

On Sun, Oct 09, 2005 at 12:46:51PM -0400, Edwin Vane wrote:
> Hi,
>
> I've been looking at the MusicPlayer API. I find that calling
> MusicPlayerStart() can take about 1s to complete (measured using a pair
> of calls to the host time retrieval functions). I was hoping to use
> MusicPlayer inside QuickTime (specifically inside a derived media
> handler to play midi data). However, using Start and Stop for play and
> stop in quicktime doesn't seem like a good idea if it incurs a second
> delay (which may cause tracks to become unsynchronized). Is there a way
> to speed up MusicPlayerStart() or some other method to implement start
> and stop of music without incurring the delay? Or should I look into
> some sort of workaround (setting a NULL sequence perhaps, although I
> haven't tried that).
>
> --
>
> Edwin Vane
>    MMath Candidate
>    Computer Graphics Lab
>    School of Computer Science
>    University of Waterloo
>
>  _______________________________________________
> 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
>

--

Edwin Vane
   MMath Candidate
   Computer Graphics Lab
   School of Computer Science
   University of Waterloo

 _______________________________________________
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

  • Follow-Ups:
    • Re: Speeding up MusicPlayerStart()?
      • From: William Stewart <email@hidden>
References: 
 >Speeding up MusicPlayerStart()? (From: Edwin Vane <email@hidden>)

  • Prev by Date: Re: ClassInfo & PresentPreset confusion
  • Next by Date: Audio Units - newbie questions
  • Previous by thread: Speeding up MusicPlayerStart()?
  • Next by thread: Re: Speeding up MusicPlayerStart()?
  • Index(es):
    • Date
    • Thread