what does this err code -10867 mean for AudioUnitSetProperty
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