(dfca7cf97265c58d732382068f72b6ac8b9260e2)
#include "qwindowsaudiodevices_p.h"
#include <QtCore/qdebug.h>
#include <QtCore/private/qcomobject_p.h>
#include <QtCore/private/qsystemerror_p.h>
#include <QtMultimedia/qmediadevices.h>
#include <QtMultimedia/private/qcomtaskresource_p.h>
#include <QtMultimedia/private/qwindowsaudiodevice_p.h>
#include <QtMultimedia/private/qwindowsaudiosink_p.h>
#include <QtMultimedia/private/qwindowsaudiosource_p.h>
#include <QtMultimedia/private/qwindows_propertystore_p.h>
#include <audioclient.h>
#include <functiondiscoverykeys_devpkey.h>
#include <mmdeviceapi.h>
#include <map>
#include "qwindowsaudiodevices.moc"
Go to the source code of this file.
|
| QT_BEGIN_NAMESPACE | DEFINE_PROPERTYKEY (PKEY_Device_ContainerIdQt, 0x8c7ed206, 0x3f8a, 0x4827, 0xb3, 0xab, 0xae, 0x9e, 0x1f, 0xae, 0xfc, 0x6c, 2) |
| static std::optional< QString > | getDeviceId (const ComPtr< IMMDevice > &dev) |
| static std::optional< QAudioDevice > | asQAudioDevice (ComPtr< IMMDevice > device, QAudioDevice::Mode mode, std::optional< QString > defaultAudioDeviceID) |
◆ asQAudioDevice()
◆ DEFINE_PROPERTYKEY()
| QT_BEGIN_NAMESPACE DEFINE_PROPERTYKEY |
( |
PKEY_Device_ContainerIdQt | , |
|
|
0x8c7ed206 | , |
|
|
0x3f8a | , |
|
|
0x4827 | , |
|
|
0xb3 | , |
|
|
0xab | , |
|
|
0xae | , |
|
|
0x9e | , |
|
|
0x1f | , |
|
|
0xae | , |
|
|
0xfc | , |
|
|
0x6c | , |
|
|
2 | ) |
◆ getDeviceId()
| std::optional< QString > getDeviceId |
( |
const ComPtr< IMMDevice > & | dev | ) |
|
|
static |