#include <iostream>
#include <cmath>
#include "libmythbase/mythlogging.h"
#include "audiooutputdx.h"
#include <windows.h>
#include <mmsystem.h>
#include <dsound.h>
#include <unistd.h>
#include <initguid.h>
Go to the source code of this file.
|
| DEFINE_GUID (IID_IDirectSoundNotify, 0xb0210783, 0x89cd, 0x11d0, 0xaf, 0x8, 0x0, 0xa0, 0xc9, 0x25, 0xcd, 0x16) |
|
| DEFINE_GUID (_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT, WAVE_FORMAT_IEEE_FLOAT, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) |
|
| DEFINE_GUID (_KSDATAFORMAT_SUBTYPE_PCM, WAVE_FORMAT_PCM, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) |
|
| DEFINE_GUID (_KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF, WAVE_FORMAT_DOLBY_AC3_SPDIF, 0x0000, 0x0010, 0x80, 0x00, 0x00, 0xaa, 0x00, 0x38, 0x9b, 0x71) |
|
◆ LOC
#define LOC QString("AODX: ") |
◆ WAVE_FORMAT_DOLBY_AC3_SPDIF
#define WAVE_FORMAT_DOLBY_AC3_SPDIF 0x0092 |
◆ WAVE_FORMAT_IEEE_FLOAT
#define WAVE_FORMAT_IEEE_FLOAT 0x0003 |
◆ WAVE_FORMAT_EXTENSIBLE
#define WAVE_FORMAT_EXTENSIBLE 0xFFFE |
◆ PWAVEFORMATEXTENSIBLE
◆ LPFNDSC
using LPFNDSC = HRESULT (WINAPI *) (LPGUID, LPDIRECTSOUND *, LPUNKNOWN) |
◆ LPFNDSE
using LPFNDSE = HRESULT (WINAPI *) (LPDSENUMCALLBACK, LPVOID) |
◆ DEFINE_GUID() [1/4]
DEFINE_GUID |
( |
IID_IDirectSoundNotify |
, |
|
|
0xb0210783 |
, |
|
|
0x89cd |
, |
|
|
0x11d0 |
, |
|
|
0xaf |
, |
|
|
0x8 |
, |
|
|
0x0 |
, |
|
|
0xa0 |
, |
|
|
0xc9 |
, |
|
|
0x25 |
, |
|
|
0xcd |
, |
|
|
0x16 |
|
|
) |
| |
◆ DEFINE_GUID() [2/4]
DEFINE_GUID |
( |
_KSDATAFORMAT_SUBTYPE_IEEE_FLOAT |
, |
|
|
WAVE_FORMAT_IEEE_FLOAT |
, |
|
|
0x0000 |
, |
|
|
0x0010 |
, |
|
|
0x80 |
, |
|
|
0x00 |
, |
|
|
0x00 |
, |
|
|
0xaa |
, |
|
|
0x00 |
, |
|
|
0x38 |
, |
|
|
0x9b |
, |
|
|
0x71 |
|
|
) |
| |
◆ DEFINE_GUID() [3/4]
DEFINE_GUID |
( |
_KSDATAFORMAT_SUBTYPE_PCM |
, |
|
|
WAVE_FORMAT_PCM |
, |
|
|
0x0000 |
, |
|
|
0x0010 |
, |
|
|
0x80 |
, |
|
|
0x00 |
, |
|
|
0x00 |
, |
|
|
0xaa |
, |
|
|
0x00 |
, |
|
|
0x38 |
, |
|
|
0x9b |
, |
|
|
0x71 |
|
|
) |
| |
◆ DEFINE_GUID() [4/4]
DEFINE_GUID |
( |
_KSDATAFORMAT_SUBTYPE_DOLBY_AC3_SPDIF |
, |
|
|
WAVE_FORMAT_DOLBY_AC3_SPDIF |
, |
|
|
0x0000 |
, |
|
|
0x0010 |
, |
|
|
0x80 |
, |
|
|
0x00 |
, |
|
|
0x00 |
, |
|
|
0xaa |
, |
|
|
0x00 |
, |
|
|
0x38 |
, |
|
|
0x9b |
, |
|
|
0x71 |
|
|
) |
| |