Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

kAudioUnitErr_InvalidPropertyValue



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:

---------------------TIME STAMP-----------------:
Sample Time: 0.000000
Host Time: 0
Rate Scalar: 0.000000
WordClock: 0
---------------------- -------- SMPTE--------------------------:
SMPTE Counter: 0
SMPTE Type: 0
SMPTE Flags:0
hr: 0
min: 0
sec: 0
fr: 0
Flags: 1
--------------------------------------------------------------------
Audio File Ref: 25251884
LoopCount: 99
StartFrame: 0
Frames to Play: -1  ok

Any ideas on what the invalid property value might be?

Bruno

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.