Microphone.GetDeviceCaps Manual     Reference     Scripting  
Scripting > Runtime Classes > Microphone
Microphone.GetDeviceCaps

static function GetDeviceCaps (deviceName : String, out minFreq : int, out maxFreq : int) : void

Parameters

NameDescription
deviceName the name of the device. Passing null or an empty string will pick the default device. Get device names with Microphone.devices
out minFreq
out maxFreq

Description

Get the frequency capabilities of a device.

if minFreq and maxFreq is 0, any frequency is supported.