You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm writing some pieces of code to detect whether or not there is sound from a microphone device.
I came up with a basic working solution that consists of
WaveInEvent.StartRecording()
Sampling the data and simply checking for device.AudioMeterInformation.MasterPeakValue
I found people reporting issues around MasterPeakValue being 0 unless they open "Recording Devices",
But after some testing I found that MasterPeakValue is reported correctly for any device, but it needs to be selected in Windows input manager as DEFAULT, otherwise it's 0.
Is this a bug or should I be using a different approach for my use case? I don't want to be constrained by the default windows input.
Thanks in advance
The text was updated successfully, but these errors were encountered:
Hi Everyone,
I'm writing some pieces of code to detect whether or not there is sound from a microphone device.
I came up with a basic working solution that consists of
I found people reporting issues around MasterPeakValue being 0 unless they open "Recording Devices",
But after some testing I found that MasterPeakValue is reported correctly for any device, but it needs to be selected in Windows input manager as DEFAULT, otherwise it's 0.
Is this a bug or should I be using a different approach for my use case? I don't want to be constrained by the default windows input.
Thanks in advance
The text was updated successfully, but these errors were encountered: