AudioDeviceModulesManager Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Manages the collections of audio device modules for a audio device pin instance or for a particular audio endpoint.
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
- Inheritance
- Attributes
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|
App capabilities |
audioDeviceConfiguration
|
Constructors
AudioDeviceModulesManager(String) |
Gets an instance of the AudioDeviceModulesManager class for the specified audio device ID. |
Methods
FindAll() |
Retreives a list of all audio device modules associated with the audio device for which the AudioDeviceModulesManager was initialized. |
FindAllById(String) |
Retrieves a list of all audio device modules with the specified ID. Each audio device module in the list will have the same ID, but each will have a different value for the AudioDeviceModule.InstanceId property. |
Events
ModuleNotificationReceived |
Occurs when a change occurs in one of the audio device modules associated with the audio device for which the AudioDeviceModulesManager was initialized. |