dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
Loading...
Searching...
No Matches
dx_wasapi.h File Reference
#include "dx_platform.h"
#include <mmdeviceapi.h>
#include <audioclient.h>
#include <devicetopology.h>
#include <functiondiscoverykeys_devpkey.h>
#include <string>
#include <map>
Include dependency graph for dx_wasapi.h:
This graph shows which files directly or indirectly include this file:

Classes

class  dx::wasapi::reference<object_t>
 COM interface reference. More...
class  dx::wasapi::task_memory<type_t>
 CoTaskMemAlloc'd out parameter. More...

Namespaces

namespace  dx
 dynax driver framework interface namespace
namespace  dx::wasapi
 WASAPI namespace.

Macros

#define interface   __STRUCT__

Functions

std::string dx::wasapi::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 dx::wasapi::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 dx::wasapi::property(::IMMDevice* endpoint, const ::PROPERTYKEY& key)
std::string dx::wasapi::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 dx::wasapi::utf8(const wchar_t* wide)
std::wstring dx::wasapi::wide(const std::string& utf8)

Macro Definition Documentation

◆ interface

#define interface   __STRUCT__