• 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
what does this err code -10867 mean for AudioUnitSetProperty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

what does this err code -10867 mean for AudioUnitSetProperty


  • Subject: what does this err code -10867 mean for AudioUnitSetProperty
  • From: Rajeswar Rao <email@hidden>
  • Date: Fri, 16 May 2008 18:59:02 +0530

Encountered this issue when trying to implement these lines

ScheduledAudioFileRegion rgn;
memset (&rgn.mTimeStamp, 0, sizeof(rgn.mTimeStamp));
rgn.mTimeStamp.mFlags = kAudioTimeStampSampleTimeValid;
rgn.mTimeStamp.mSampleTime = 0.0;
rgn.mCompletionProc = NULL;
rgn.mCompletionProcUserData = NULL;
rgn.mAudioFile = mAFID;
rgn.mLoopCount = 0;
rgn.mStartFrame = 0;
rgn.mFramesToPlay = (nPackets * fileFormat.mFramesPerPacket);
err = AudioUnitSetProperty( gOutputUnit, kAudioUnitProperty_ScheduledFileRegion, kAudioUnitScope_Global, 0,&rgn, sizeof(rgn));

tried giving mCompletionProcUserData , mCompletionProc  proper call back functions.
None of the trials helped me.



thanks in advance

~Raj



 _______________________________________________
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

  • Follow-Ups:
    • Re: what does this err code -10867 mean for AudioUnitSetProperty
      • From: William Stewart <email@hidden>
  • Prev by Date: How to assign a Audio file to Audio Unit and play
  • Next by Date: Re: Need help to identify Audio Output issue
  • Previous by thread: How to assign a Audio file to Audio Unit and play
  • Next by thread: Re: what does this err code -10867 mean for AudioUnitSetProperty
  • Index(es):
    • Date
    • Thread