I'm trying to figure out how to set the volume of a CoreAudio AudioUnit. I found the parameter kHALOutputParam_Volume, but I can't find anything about it.
I called AudioUnitGetPropertyInfo and that told me that the parameter is 4 bytes long and writeable. How can I find out whether that is an Int32, UInt32, Float32 or some other type and what acceptable values are and mean?
I used AudioUnitGetProperty and read it as either Int32 (512) or Float32 (7.17e-43).
Is there any documentation on this and other parameters?