CoreAudio doc volume typo or something I'm missing?
CoreAudio doc volume typo or something I'm missing?
- Subject: CoreAudio doc volume typo or something I'm missing?
- From: Chilton Webb <email@hidden>
- Date: Sun, 13 Jun 2004 11:28:44 -0500
Hi,
In the CoreAudio.pdf file here...
... it says...
If ( (theStatus == kAudioHardwareNoError) && isWritable)
{
Float32 theValue;
theStatus = AudioDeviceSetProperty ( theDevice, NULL, 2, false,
kAudioDevicePropertyVolumeScalar, sizeof(Float32), &theValue );
... Now, 'If' is capitalized in the code. I assume that's a typo. But
that makes me wonder if this was a copy + paste of working code
snippet, or something typed in from memory. Mainly, I'm wondering if
theValue needs to be set to something, and if so, what it should be set
to, for the various volume levels (or am I missing something obvious).
Thanks,
-Chilton
_______________________________________________
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.