• 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
Multiple ScheduledAudioFileRegions for AUAudioFilePlayer, order matters?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: combining QTMovie and CoreAudio
  • Next by Date: armv6 versus armv7 buffer data type?
  • Previous by thread: combining QTMovie and CoreAudio
  • Next by thread: armv6 versus armv7 buffer data type?
  • Index(es):
    • Date
    • Thread