WASAPI namespace.
More...
|
| typedef std::map< std::string, std::string > | dictionary |
| | matching dictionary: verb -> case-insensitive substring; id -> the KS filter device interface id, name -> PKEY_Device_FriendlyName, interface -> PKEY_DeviceInterface_FriendlyName, vendor -> PKEY_Device_Manufacturer. A driver's match is a vector of them: any dictionary whose entries all match takes the endpoint, an empty vector takes every endpoint
|
|
| std::string | devnode (const std::string &topology) |
| | device instance path of a KS filter: its device interface id without the {2}.\?\ prefix and the #{KSCATEGORY}<reference string> tail - shared by every endpoint of one device
|
| uint32_t | number (::IMMDevice *endpoint, const ::PROPERTYKEY &key) |
| | a numeric property of an endpoint (VT_UI4 - the form factor, the physical speakers): zero where the endpoint carries none
|
| std::string | property (::IMMDevice *endpoint, const ::PROPERTYKEY &key) |
| std::string | topology (::IMMDevice *endpoint) |
| | device interface id of the KS filter behind the endpoint's connector: {2}.\\?\<enumerator>#<hardware id>#<instance>#{KSCATEGORY}\<reference string>
|
| std::string | utf8 (const wchar_t *wide) |
| std::wstring | wide (const std::string &utf8) |
◆ dictionary
matching dictionary: verb -> case-insensitive substring; id -> the KS filter device interface id, name -> PKEY_Device_FriendlyName, interface -> PKEY_DeviceInterface_FriendlyName, vendor -> PKEY_Device_Manufacturer. A driver's match is a vector of them: any dictionary whose entries all match takes the endpoint, an empty vector takes every endpoint
◆ devnode()
| std::string dx::wasapi::devnode |
( |
const std::string & | topology | ) |
|
|
inline |
device instance path of a KS filter: its device interface id without the {2}.\?\ prefix and the #{KSCATEGORY}<reference string> tail - shared by every endpoint of one device
◆ number()
| uint32_t dx::wasapi::number |
( |
::IMMDevice * | endpoint, |
|
|
const ::PROPERTYKEY & | key ) |
|
inline |
a numeric property of an endpoint (VT_UI4 - the form factor, the physical speakers): zero where the endpoint carries none
endpoint string property
◆ property()
| std::string dx::wasapi::property |
( |
::IMMDevice * | endpoint, |
|
|
const ::PROPERTYKEY & | key ) |
|
inline |
◆ topology()
| std::string dx::wasapi::topology |
( |
::IMMDevice * | endpoint | ) |
|
|
inline |
device interface id of the KS filter behind the endpoint's connector: {2}.\\?\<enumerator>#<hardware id>#<instance>#{KSCATEGORY}\<reference string>
◆ utf8()
| std::string dx::wasapi::utf8 |
( |
const wchar_t * | wide | ) |
|
|
inline |
◆ wide()
| std::wstring dx::wasapi::wide |
( |
const std::string & | utf8 | ) |
|
|
inline |