• 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
Enumerations in AudioHardware.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Enumerations in AudioHardware.h


  • Subject: Enumerations in AudioHardware.h
  • From: email@hidden
  • Date: Sun, 11 May 2003 10:16:38 -0400

Good Morning,
I'm a newbie to coreaudio and to this list. I was looking through
AudioHardware.h and was looking through the enumerations to try and
figure out all the properties of the hardware layer. I ran across:

kAudioHardwarePropertyBootChimeVolumeScalar = 'bbvs',
// a Float32 between 0 and 1 that scales the volume of the boot chime
// across the full range of the device.

How can an enumerated value be a Float32? I've looked through Dave
Mark's "Learn C on the Mac" and K & R's "The C Programming Language"
and they state enums are ints. As I look through the rest of the
documentation I see other cases like:

kAudioDevicePropertyNominalSampleRate = 'nsrt',
// A Float64 that indicates the current nominal sample rate of the
device.

As I try to develop a simple audio tuning app, I've come to realize
that understanding these docs is key. Any help in answering the above
question will be appreciated. Also looking for any sources on
understanding Apple's conventions in naming constants. Some start with
"k" some with "m" etc...

Thanks for the help,
Dom
_______________________________________________
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: Enumerations in AudioHardware.h
      • From: Chris Reed <email@hidden>
    • Re: Enumerations in AudioHardware.h
      • From: David Duncan <email@hidden>
  • Prev by Date: RE: Stuck notes in Rax and Synthtest
  • Next by Date: Re: Enumerations in AudioHardware.h
  • Previous by thread: Re: Sample USB MIDI driver broken?
  • Next by thread: Re: Enumerations in AudioHardware.h
  • Index(es):
    • Date
    • Thread