Jamba C++ API
4.3.0
|
#include <pluginterfaces/vst/ivstaudioprocessor.h>
#include <cmath>
Go to the source code of this file.
Namespaces | |
pongasoft | |
pongasoft::VST | |
Macros | |
#define | BIT_CLEAR(a, b) ((a) &= ~(static_cast<uint64>(1)<<(b))) |
#define | BIT_SET(a, b) ((a) |= (static_cast<uint64>(1)<<(b))) |
#define | BIT_TEST(a, b) (((a) & (static_cast<uint64>(1)<<(b))) != 0) |
Functions | |
template<typename SampleType > | |
SampleType | dbToSample (double valueInDb) |
template<typename SampleType > | |
SampleType | getSampleSilentThreshold () noexcept |
template<> | |
Sample32 | getSampleSilentThreshold< Sample32 > () noexcept |
template<> | |
Sample64 | getSampleSilentThreshold< Sample64 > () noexcept |
bool | isSilent (Sample32 value) |
bool | isSilent (Sample64 value) |
template<typename SampleType > | |
double | sampleToDb (SampleType valueInSample) |
Variables | |
constexpr Sample32 | Sample32SilentThreshold = ((Sample32)2.0e-8) |
constexpr Sample64 | Sample64SilentThreshold = ((Sample64)2.0e-8) |
#define BIT_CLEAR | ( | a, | |
b | |||
) | ((a) &= ~(static_cast<uint64>(1)<<(b))) |
#define BIT_SET | ( | a, | |
b | |||
) | ((a) |= (static_cast<uint64>(1)<<(b))) |
#define BIT_TEST | ( | a, | |
b | |||
) | (((a) & (static_cast<uint64>(1)<<(b))) != 0) |