Re: Pause Graph with Looping Sound File Player?
Re: Pause Graph with Looping Sound File Player?
- Subject: Re: Pause Graph with Looping Sound File Player?
- From: William Stewart <email@hidden>
- Date: Mon, 2 Jul 2007 19:28:25 -0700
Yes, you should reset it *and* (It uses the time stamps from AUHAL to
schedule its slices), when you start it again, it will by default
start at sampleTime == 0.
So, there's a bit of work to do when you do anything that changes the
timeline
Bill
On 26/06/2007, at 2:47 AM, Mark Coniglio wrote:
Hi All,
I have the following Audio Unit Graph:
Sound File Player -> Default Output Unit
I run the graph, sound is playing all good.
Then I call AUGraphStop to pause the graph; some seconds later, I
call AUGraphStart. When I do this, the Sound File Player doesn't
pick up where it left off. Instead, there is a long silence in the
sound. (Though it seems to be shorter if I pause for a shorter time.)
Probably there is something going on here with timestamps or
something. But I can't seem to figure it out. Do I need to notify
the Sound File Player that it has been paused???
Best,
Mark
--
=====================================================================
Mark Coniglio, Artistic Co-Director | email@hidden
Troika Ranch Dance Theater | http://www.troikaranch.org
=====================================================================
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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