Re: AudioUnitProperty discovery
Re: AudioUnitProperty discovery
- Subject: Re: AudioUnitProperty discovery
- From: Bill Stewart <email@hidden>
- Date: Mon, 5 Nov 2001 11:51:57 -0800
Not currently
If you look through the new base classes we released last week
you'll get some idea of the basic set of properties that all audio
units should support
We're looking into the UI aspect and would fully expect that audio
units will present their own UI to a user to allow that user to
configure the unit as they want. We'll also be making available a
tool shortly that does present a generic UI for different "types"
of units and interfaces to the other Audio Toolbox services - this
will be in code format and should be a useful tool and resource for
you.
The problem for properties is that the data types can be so
varied - for eg. the DLSMusicDevice has a sound bank property that
takes a FSSpec that is not the type of property that is relevant to
many other types of units.... We've talked about having the AU
present a CFDictionary of its properties and types so that any one
could read these - but Its hard to get from that to something you
can just code so that it works (and in some ways its more difficult
to get this than it is to just read the header file!)
Aside from the generic operations of setting up an audio unit to
run within a graph, etc... the parameters are the ones that you
really care about most of the time - and those you can introspect
and present a generic UI for
Bill
On Monday, November 5, 2001, at 11:08 AM, Thomas Hudson wrote:
Is there a way to iterate over all the properties for an AudioUnit?
Looking at the docs/headers it seems it is only possible to get
property values if you know the ID in advance. I would like to
query an AudioUnit for the property IDs it supports, similar to
how I can get a list of parameter IDs.
Tomy
_______________________________________________
coreaudio-api mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
mailto:email@hidden
tel: +1 408 974 4056
__________________________________________________________________________
Cat: "Leave me alone, I'm trying to nap... Ah, What's that clicking
noise?"
__________________________________________________________________________