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

Re: Enumerations in AudioHardware.h


  • Subject: Re: Enumerations in AudioHardware.h
  • From: David Duncan <email@hidden>
  • Date: Sun, 11 May 2003 11:08:13 -0400

On Sunday, May 11, 2003, at 10:16 AM, email@hidden wrote:

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?

Your confusing the enumeration with the data that it describes. What the comment means is that in a call to the GetProperty() class of functions, you would pass the enumeration value (in this case kAudioHardwarePropertyBootChimeVolumeScalar) to tell the function what data you want, and pass the location of a Float32 variable to store that data.
--
Reality is what, when you stop believing in it, doesn't go away.
Failure is not an option. It is a privilege reserved for those who try.

David Duncan
_______________________________________________
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:
    • Get events from MyReadProc
      • From: Pascal Goguey <email@hidden>
References: 
 >Enumerations in AudioHardware.h (From: email@hidden)

  • Prev by Date: Enumerations in AudioHardware.h
  • Next by Date: Get events from MyReadProc
  • Previous by thread: Enumerations in AudioHardware.h
  • Next by thread: Get events from MyReadProc
  • Index(es):
    • Date
    • Thread