Skip to content

Example of how audio devices can be enumerated and observed in WPF application.

Notifications You must be signed in to change notification settings

anguzo/mf-audio-device-enumerator

Repository files navigation

MF-Audio-Device-Enumerator

This example shows how audio device watcher/observer and how audio device enumeration can be implemented in Windows. There are two solutions provided:

  1. Using NAudio library.
  2. Using Vortice.MediaFoundation library.

Both libraries provide CoreAudioAPI data structures such as IMMDeviceEnumerator, IMMDevice, etc.

PolicyConfigClient is implemented to support setting default system device.

NAudio sample also provides AudioEndpointVolume as part of MMDevice while Vortice does not which enables audio device volume control for it.

About

Example of how audio devices can be enumerated and observed in WPF application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages