CriWare Unreal Engine
Plug-ins for CriWare solutions.
読み取り中…
検索中…
一致する文字列を見つけられません
AtomWasapi.cpp ファイル
#include "AtomWasapi.h"
#include "CriWareAtomWindows.h"
#include "Atom/Atom.h"
#include "Windows/AllowWindowsPlatformTypes.h"
#include "Windows/AllowWindowsPlatformAtomics.h"
#include <mmdeviceapi.h>
#include <Audioclient.h>
#include <functiondiscoverykeys.h>
#include <propvarutil.h>
#include <cri_atom_wasapi.h>
#include "Windows/HideWindowsPlatformTypes.h"
#include "Windows/HideWindowsPlatformAtomics.h"

名前空間

namespace  FAtomWasapi_NativeCallbacks

マクロ定義

#define ATOM_PLATFORM_ERROR(Err)
#define CLEANUP_ON_FAIL(Result)
#define RETURN_FALSE_ON_FAIL(Result)

関数

static const TCHAR * GetWasapiError (HRESULT Result)
void FAtomWasapi_NativeCallbacks::OnAudioEndpoint_WASAPI (void *Obj, IMMDevice *Device)

マクロ定義詳解

◆ ATOM_PLATFORM_ERROR

#define ATOM_PLATFORM_ERROR ( Err)
値:
UE_LOG(LogCriWareAtom, Error, TEXT("Windows: %s"), Err)

◆ CLEANUP_ON_FAIL

#define CLEANUP_ON_FAIL ( Result)
値:
if (FAILED(Result)) \
{ \
const TCHAR* Err = GetWasapiError(Result); \
ATOM_PLATFORM_ERROR(Err); \
goto Cleanup; \
}
static const TCHAR * GetWasapiError(HRESULT Result)
Definition AtomWasapi.cpp:26

◆ RETURN_FALSE_ON_FAIL

#define RETURN_FALSE_ON_FAIL ( Result)
値:
if (FAILED(Result)) \
{ \
const TCHAR* Err = GetWasapiError(Result); \
ATOM_PLATFORM_ERROR(Err); \
return false; \
}

関数詳解

◆ GetWasapiError()

const TCHAR * GetWasapiError ( HRESULT Result)
static