Re: AudioUnitParameterUnit for ms
Re: AudioUnitParameterUnit for ms
- Subject: Re: AudioUnitParameterUnit for ms
- From: Luke Bellandi <email@hidden>
- Date: Wed, 02 Oct 2002 10:42:56 -0700
That should be an application-level conversion. It's unnecessary extra work
for developers to have to support more than one unit of time when hosting
AU's. It's a Float32, which is orders of magnitude more precise than any
foreseeable sample-rate could make use of (when using units of seconds.)
Your app could choose to a representative unit based on the min & max values
of the parameters. For example, if the unit is seconds, and the max value
is less than 1, you could choose to represent that parameter with units of
milliseconds.
Best,
Luke Bellandi
CoreAudio
On 10/2/02 10:37 AM, "Marc Poirier" <email@hidden> wrote:
>
How about it, in addition to kAudioUnitParameterUnit_Seconds there could
>
also be kAudioUnitParameterUnit_Milliseconds, yes?
>
_______________________________________________
>
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.
_______________________________________________
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.