|
Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
|
#include "AESinkXAudio.h"#include "ServiceBroker.h"#include "cores/AudioEngine/AESinkFactory.h"#include "cores/AudioEngine/Sinks/windows/AESinkFactoryWin.h"#include "cores/AudioEngine/Utils/AEDeviceInfo.h"#include "cores/AudioEngine/Utils/AEUtil.h"#include "platform/win32/CharsetConverter.h"#include "platform/win10/AsyncHelpers.h"#include "settings/AdvancedSettings.h"#include "settings/SettingsComponent.h"#include "utils/log.h"#include "utils/StringUtils.h"#include "utils/TimeUtils.h"#include <algorithm>#include <ksmedia.h>#include <mfapi.h>#include <mmdeviceapi.h>#include <mmreg.h>#include <stdint.h>#include <wrl/implements.h>Macros | |
| #define | EXIT_ON_FAILURE(hr, reason, ...) if(FAILED(hr)) {CLog::Log(LOGERROR, reason " - %s", __VA_ARGS__, WASAPIErrToStr(hr)); goto failed;} |
| #define | XAUDIO_BUFFERS_IN_QUEUE 2 |
Functions | |
| const char * | WASAPIErrToStr (HRESULT err) |
| template<class TVoice > | |
| void | SafeDestroyVoice (TVoice **ppVoice) |
| #define EXIT_ON_FAILURE | ( | hr, | |
| reason, | |||
| ... | |||
| ) | if(FAILED(hr)) {CLog::Log(LOGERROR, reason " - %s", __VA_ARGS__, WASAPIErrToStr(hr)); goto failed;} |
| #define XAUDIO_BUFFERS_IN_QUEUE 2 |
|
inline |
| const char * WASAPIErrToStr | ( | HRESULT | err | ) |