• 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
Re: kAudioUnitErr_InvalidPropertyValue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >kAudioUnitErr_InvalidPropertyValue (From: Bruno Degazio <email@hidden>)

  • Prev by Date: Re: Streaming Graph to file without a sound
  • Next by Date: Re: AUEffectBase to CocoaView communication...
  • Previous by thread: kAudioUnitErr_InvalidPropertyValue
  • Next by thread: Help me start with a simple GUI-free AudioUnit
  • Index(es):
    • Date
    • Thread