- Home /
Question by
Chris_Entropy · Apr 24, 2015 at 02:27 PM ·
audioapiparametermixing
How do I check, if an Audio Mixer has a certain Parameter exposed?
I am currently programming some control classes for the audio mixer. Since I want to reduce errors, I am looking for a way to make sure, that a certain parameter is exposed and existing in the Audio Mixer. So is there any function like "HasParameter" that I can call to check, if a parameter of that name exists. Are there any errors thrown, if I want to access a non-existing parameter, that I could use?
Edit: I found it. The AudioMixer.GetFloat function returns false, if the parameter does not exit.
Comment