다음을 통해 공유


AudioDeviceController 클래스

정의

마이크의 디바이스 설정을 제어합니다.

public ref class AudioDeviceController sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
class AudioDeviceController final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Standard)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.MTA)]
public sealed class AudioDeviceController
Public NotInheritable Class AudioDeviceController
상속
Object Platform::Object IInspectable AudioDeviceController
특성
구현

Windows 요구 사항

디바이스 패밀리
Windows 10 (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Foundation.UniversalApiContract (v1.0에서 도입되었습니다.)

설명

이 개체의 instance 얻으려면 MediaCapture.AudioDeviceController 속성을 검색합니다.

참고

이 클래스는 민첩하지 않으므로 스레딩 모델 및 마샬링 동작을 고려해야 합니다. 자세한 내용은 스레딩 및 마샬링(C++/CX)다중 스레드 환경에서 Windows 런타임 개체 사용(.NET)을 참조하세요.

속성

AudioCaptureEffectsManager

AudioCaptureEffectsManagerAudioDeviceController와 연결된 를 가져옵니다.

Muted

마이크를 음소거하거나 음소거 해제합니다.

VolumePercent

마이크의 볼륨을 가져오거나 설정합니다.

메서드

GetAvailableMediaStreamProperties(MediaStreamType)

디바이스에 대해 지원되는 인코딩 속성의 목록을 가져옵니다.

GetMediaStreamProperties(MediaStreamType)

디바이스에 대해 지정된 미디어 스트림 형식의 인코딩 속성을 가져옵니다.

SetMediaStreamPropertiesAsync(MediaStreamType, IMediaEncodingProperties)

디바이스에 대해 지정된 미디어 스트림 유형에 대한 인코딩 속성을 비동기적으로 설정합니다.

적용 대상