Enumerations in AudioHardware.h
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.