hydrogen 1.1.1
PulseAudioDriver.cpp File Reference

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))