hydrogen 1.2.3
PulseAudioDriver.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  H2Core
 

Macros

#define FLOAT_TO_SHORT(x)   short(round((std::min(std::max((x), -1.0f), 1.0f)) * 32767.0f))
 

Macro Definition Documentation

◆ FLOAT_TO_SHORT

#define FLOAT_TO_SHORT ( x)    short(round((std::min(std::max((x), -1.0f), 1.0f)) * 32767.0f))

Definition at line 238 of file PulseAudioDriver.cpp.