Re: MusicPlayer Preroll questions [CORRECTION]
Re: MusicPlayer Preroll questions [CORRECTION]
- Subject: Re: MusicPlayer Preroll questions [CORRECTION]
- From: Edwin Vane <email@hidden>
- Date: Fri, 6 Jan 2006 03:11:10 -0500
- Mail-followup-to: CoreAudio/Midi List <email@hidden>
On Fri, Jan 06, 2006 at 03:03:09AM -0500, Edwin Vane wrote:
> Hi,
>
> I've seen somewhere that MusicPlayerPreroll() prepares playback by
> silently setting up MIDI state so notes in the middle of sounding are
> sounding when playback resumes. Is this correct?
>
> I'm having a strange issue that may relate to this. I play a music
> sequence and stop it in the middle of playing a long note (a string
> instrument so there's no decay). I stop the player *and* the AUGraph.
> Then, when it comes time to preroll, I use SetTime to set the new
> playback location, start the augraph, and call MusicPlayerPreroll().
> Then I just start the MusicSequence again. Without fail, if the new
> playback location is after all events, the long note continues to play
> forever. Am I setting something incorrectly?
Is this expected behaviour? Perhaps the synth unit continues where it
left off when the graph is restarted? I would think MusicPlayerStop()
should stop all sound at once though...
>
> --
>
> 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