dxd - dynax driver framework 3.0.0d222
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx::wasapi Namespace Reference

WASAPI namespace. More...

Namespaces

namespace  client

Classes

class  reference
 COM interface reference. More...
class  task_memory
 CoTaskMemAlloc'd out parameter. More...

Typedefs

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

Functions

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)

Detailed Description

WASAPI namespace.

Typedef Documentation

◆ dictionary

typedef std::map<std::string, std::string> dx::wasapi::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

Function Documentation

◆ 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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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

Here is the call graph for this function:
Here is the caller graph for this function:

◆ property()

std::string dx::wasapi::property ( ::IMMDevice * endpoint,
const ::PROPERTYKEY & key )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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>

Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf8()

std::string dx::wasapi::utf8 ( const wchar_t * wide)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ wide()

std::wstring dx::wasapi::wide ( const std::string & utf8)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

(c) copyright 2009 dynamic acoustics e.U. generated on

a closed source license may be obtained by requesting a written permission from dynamic acoustics e.U.
however - governmental use generally and military use especially is strictly prohibited though.