Version: 2020.3
public static void GetDeviceCaps (string deviceName, out int minFreq, out int maxFreq);

파라미터

deviceName The name of the device.
minFreq Returns the minimum sampling frequency of the device.
maxFreq Returns the maximum sampling frequency of the device.

설명

Get the frequency capabilities of a device.

Passing null or an empty string for the device name will select the default device. You can use the devices property to get a list of all available microphones.

When a value of zero is returned in the minFreq and maxFreq parameters, this indicates that the device supports any frequency.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961