- Home /
Question by
CptDustmite · Jul 24, 2018 at 02:48 AM ·
audiowindowsstandalonedevicemute
Un-mute a Windows audio device from Unity
Hi there
I'm trying to toggle a microphone device's "mute" state to not muted, from within Unity. This is the same state that you can see by right-clicking on a Recording device and going to Properties then Levels tab.
I have found AudioDeviceController.Muted but that is in UWP API (Universal Windows Platform) so I'm not sure if it will work for builds set to Windows Standaloen platform. As well this is from the Windows.Media.Devices namespace and I don't have a Windows dll that Unity will recognise.
Is there a way I can set the microphone mute state from a Windows Standalone build?
Thank you!
Comment