Jamba C++ API
5.0.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 T > | |
constexpr T | bitClear (T a, int bit) |
Clears bit bit in a More... | |
template<typename T > | |
constexpr T | bitSet (T a, int bit) |
Sets bit bit in a More... | |
template<typename T > | |
constexpr bool | bitTest (T a, int bit) |
Test if bit bit is set in a More... | |
template<typename SampleType > | |
SampleType | dbToSample (double valueInDb) |
template<typename SampleType > | |
SampleType | getSampleSilentThreshold () noexcept |
template<> | |
constexpr Sample32 | getSampleSilentThreshold< Sample32 > () noexcept |
template<> | |
constexpr 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) |