AudioDeviceModulesManager クラス

定義

オーディオ デバイス ピン インスタンスまたは特定のオーディオ エンドポイントのオーディオ デバイス モジュールのコレクションを管理します。

public ref class AudioDeviceModulesManager sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Media.Devices.IAudioDeviceModulesManagerFactory, 262144, "Windows.Foundation.UniversalApiContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class AudioDeviceModulesManager final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Media.Devices.IAudioDeviceModulesManagerFactory), 262144, "Windows.Foundation.UniversalApiContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class AudioDeviceModulesManager
function AudioDeviceModulesManager(deviceId)
Public NotInheritable Class AudioDeviceModulesManager
継承
Object Platform::Object IInspectable AudioDeviceModulesManager
属性

Windows の要件

デバイス ファミリ
Windows 10 Creators Update (10.0.15063.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v4.0 で導入)
アプリの機能
audioDeviceConfiguration

コンストラクター

AudioDeviceModulesManager(String)

指定したオーディオ デバイス ID の AudioDeviceModulesManager クラスのインスタンスを取得します。

メソッド

FindAll()

AudioDeviceModulesManager が初期化されたオーディオ デバイスに関連付けられているすべてのオーディオ デバイス モジュールの一覧を取得します。

FindAllById(String)

指定した ID を持つすべてのオーディオ デバイス モジュールの一覧を取得します。 リスト内の各オーディオ デバイス モジュールの ID は同じですが、 AudioDeviceModule.InstanceId プロパティの値はそれぞれ異なります。

イベント

ModuleNotificationReceived

AudioDeviceModulesManager が初期化されたオーディオ デバイスに関連付けられているオーディオ デバイス モジュールのいずれかで変更が発生したときに発生します。

適用対象