Multiple ScheduledAudioFileRegions for AUAudioFilePlayer, order matters?
Multiple ScheduledAudioFileRegions for AUAudioFilePlayer, order matters?
- Subject: Multiple ScheduledAudioFileRegions for AUAudioFilePlayer, order matters?
- From: grae <email@hidden>
- Date: Tue, 23 Nov 2010 19:04:17 -0600
Hi,
I have found that if I don't add my regions to the file player in a
sorted order (mTimeStamp.mSampleTime ascending), then the file player
returns an error code of 1936682863 for each out of order region. As
well, these regions do not get played back.
The documentation for AUAudioFilePlayer and AUScheduledSoundPlayer in
AudioUnitProperties.h doesn't seem to touch on this. Can someone
verify if this is behaviour as designed, or possibly I have an
underlying problem. I have no issues with sorting the regions, but
the seemingly obscure error code leaves me wondering.
//Not sure if this is right but this is my attempt to convert the
error 1936682863 to a char
code. Results in 'sooo'.
CAXException * ex = new CAXException(NULL,err);
char buffer[4];
printf(ex->FormatError(buffer));
Thanks,
Graeme
_______________________________________________
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