Re: kAudioUnitErr_InvalidPropertyValue
Re: kAudioUnitErr_InvalidPropertyValue
- Subject: Re: kAudioUnitErr_InvalidPropertyValue
- From: Doug Wyatt <email@hidden>
- Date: Mon, 19 Jun 2006 11:19:35 -0700
On Jun 17, 2006, at 08:43 , Bruno Degazio wrote:
I keep getting a an error -10851
( kAudioUnitErr_InvalidPropertyValue ) when calling SetProperty
kAudioUnitProperty_ScheduledFileRegion. But the value I'm passing
seems to be OK - a pointer to an ScheduledAudioFileRegion structure
and the structure size in bytes ( 92) .
Here's what the Scheduled file region structure looks like:
--------------------------------------------------------------------
Audio File Ref: 25251884
LoopCount: 99
StartFrame: 0
Frames to Play: -1 ok
Any ideas on what the invalid property value might be?
You probably didn't call
AudioUnitSetProperty(myAUFilePlayer,
kAudioUnitProperty_ScheduledFileIDs, kAudioUnitScope_Global, 0,
&myAudioFileID, sizeof(AudioFileID));
to give the file player the list of audio files you wish to be able
to play from.
Doug
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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