AUAudioFilePlayer silent after setting playback position
AUAudioFilePlayer silent after setting playback position
- Subject: AUAudioFilePlayer silent after setting playback position
- From: Felipe Baytelman <email@hidden>
- Date: Sat, 31 Dec 2005 20:09:15 -0300
Hi everyone, and Happy new year (here we still have a couple of hours
before parties start):
I have a problem with AUAudioFilePlayer: I have managed to change the
playback position. If I change the "rewind" the payer, I get a silent
Generator (even when the playback position shows it's moving through
the file) until it reaches the previous playback position.
This is what I'm doing:
// set start time (on next render cycle)
AudioTimeStamp startTime;
startTime.mFlags = kAudioTimeStampSampleTimeValid;
startTime.mSampleTime = -1;
AudioUnitSetProperty(fileAU,
kAudioUnitProperty_ScheduleStartTimeStamp, kAudioUnitScope_Global,
0, &startTime, sizeof(startTime));
There is no need to Stop/Start the graph (I have checked every
combination of AU functions available). It moves the playback
position... But is there any way of getting the audio again, like the
AUAudioFilePlayer included in AULab?
(In there, you can move the playback position with no problem)
Thanks!
Felipe Bruno Baytelman P.
Baytex Software
email@hidden http://www.baytex.net (+56 8) 249 62 41
_______________________________________________
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