• 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: AudioUnitParameterUnit for ms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: AudioUnitParameterUnit for ms
      • From: Marc Poirier <email@hidden>
    • AU2 - questions about presets and ClassInfo
      • From: Marc Poirier <email@hidden>
  • Prev by Date: AudioUnitParameterUnit for ms
  • Next by Date: AU2 - questions about presets and ClassInfo
  • Previous by thread: (HAL) clock sources
  • Next by thread: AU2 - questions about presets and ClassInfo
  • Index(es):
    • Date
    • Thread