• 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: Where is the AudioDeviceSetProperty() API Reference?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Where is the AudioDeviceSetProperty() API Reference?


  • Subject: Re: Where is the AudioDeviceSetProperty() API Reference?
  • From: Francois Hamel <email@hidden>
  • Date: Sun, 12 Sep 2004 14:39:03 -0400

You are not stupid, the doc is lacking in many areas...
What I did to find those error code was to do a Search in all the headers of the error code number ... surprinsigly it did work :)


you can find that in
System/Library/Frameworks/AudioUnit.framework/Versions/A/Headers/ AUComponent.h


line 119 approximatly:

enum {
kAudioUnitErr_InvalidProperty = -10879,
kAudioUnitErr_InvalidParameter = -10878,
kAudioUnitErr_InvalidElement = -10877,
kAudioUnitErr_NoConnection = -10876,
kAudioUnitErr_FailedInitialization = -10875,
kAudioUnitErr_TooManyFramesToProcess = -10874,
kAudioUnitErr_IllegalInstrument = -10873,
kAudioUnitErr_InstrumentTypeNotFound = -10872,
kAudioUnitErr_InvalidFile = -10871,
kAudioUnitErr_UnknownFileType = -10870,
kAudioUnitErr_FileNotSpecified = -10869,
kAudioUnitErr_FormatNotSupported = -10868,
kAudioUnitErr_Uninitialized = -10867,
kAudioUnitErr_InvalidScope = -10866,
kAudioUnitErr_PropertyNotWritable = -10865,
kAudioUnitErr_InvalidPropertyValue = -10851,
kAudioUnitErr_PropertyNotInUse = -10850,
kAudioUnitErr_Initialized = -10849, /*returned if the operation cannot be performed because the AU is initialized*/
kAudioUnitErr_InvalidOfflineRender = -10848,
kAudioUnitErr_Unauthorized = -10847
};


Francois Hamel


On 04-09-11, at 08:18, Malcolm Haylock wrote:

Hi Everyone,

I've just spect about 30 minutes trying to track down a simple error code
from the AudioDeviceSetProperty() routine but can not find it anywhere.


Typing the routine name into developer.apple.com gives no joy. Nor does
searching for "API reference", "CoreAudio error codes" or 100 other
things. Option-double-clicking on the name in XCode 1.5 just brings up the
reference library home page. Using the XCode documentation window's API
search brings no results.


Am I just being stupid or is there some secret way of finding commonplace
things in the Apple documentation?


Malcolm Haylock
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.



Frank

_______________________________________________
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


  • Prev by Date: Re: Where is the AudioDeviceSetProperty() API Reference?
  • Next by Date: Re: Coreaudio-api Digest, Vol 1, Issue 1
  • Previous by thread: Re: Where is the AudioDeviceSetProperty() API Reference?
  • Next by thread: Re: Where is the AudioDeviceSetProperty() API Reference?
  • Index(es):
    • Date
    • Thread