Show More
Commit Description:
Make sound preview use the new volume....
Commit Description:
Make sound preview use the new volume. Plays the sound at the new volume, not the old volume. Uses nullables, which I'm a little unsure of how well they'll work out in practice. I think this is a reasonable place to experiment.
File last commit:
Show/Diff file:
Action:
FNA/lib/FAudio/cpp/XAudio2fx.h
32 lines | 594 B | text/x-c | CLexer
#ifndef FACT_CPP_XAUDIO2FX_H
#define FACT_CPP_XAUDIO2FX_H
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#include <stdint.h>
#ifndef XAUDIO2_VERSION
#define XAUDIO2_VERSION 7
#endif
#ifdef FAUDIOCPP_EXPORTS
#define FAUDIOCPP_API uint32_t __stdcall
#else
#define FAUDIOCPP_API __declspec(dllimport) uint32_t __stdcall
#endif
#if XAUDIO2_VERSION >=8
FAUDIOCPP_API CreateAudioVolumeMeter(class IUnknown** ppApo);
FAUDIOCPP_API CreateAudioReverb(class IUnknown** ppApo);
#endif // XAUDIO2_VERSION >= 8
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif // FACT_CPP_XAUDIO2_H