共用方式為


AUAudioUnit_AUAudioInputOutputUnit.SetDeviceId 方法

定義

[Foundation.Export("setDeviceID:error:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.iOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static bool SetDeviceId (this AudioUnit.AUAudioUnit This, uint deviceID, out Foundation.NSError outError);
static member SetDeviceId : AudioUnit.AUAudioUnit * uint32 *  -> bool

參數

deviceID
UInt32
outError
NSError

傳回

屬性

適用於