AV module
wasapi
Windows WASAPI device enumeration helpers.
Functions
| Return | Name | Description |
|---|---|---|
bool | getDeviceList | Enumerate audio input and output devices using WASAPI. Populates audio capabilities (sample rates, channels, formats). |
getDeviceList
bool getDeviceList(Device::Type type, std::vector< av::Device > & devices)Defined in src/av/include/icy/av/win32/mediafoundation.h:49
Enumerate audio input and output devices using WASAPI. Populates audio capabilities (sample rates, channels, formats).
Returns
True if enumeration succeeded.
Parameters
| Parameter | Type | Description |
|---|---|---|
type | Device::Type | The device type to enumerate (AudioInput or AudioOutput). |
devices | std::vector< av::Device > & | Output vector to fill with discovered devices. |
