Jamba
3.0.2
|
#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 | pongasoft::VST::dbToSample (double valueInDb) |
template<typename SampleType > | |
SampleType | pongasoft::VST::getSampleSilentThreshold () noexcept |
template<> | |
Sample32 | pongasoft::VST::getSampleSilentThreshold< Sample32 > () noexcept |
template<> | |
Sample64 | pongasoft::VST::getSampleSilentThreshold< Sample64 > () noexcept |
bool | pongasoft::VST::isSilent (Sample32 value) |
bool | pongasoft::VST::isSilent (Sample64 value) |
template<typename SampleType > | |
double | pongasoft::VST::sampleToDb (SampleType valueInSample) |
Variables | |
constexpr Sample32 | pongasoft::VST::Sample32SilentThreshold = ((Sample32)2.0e-8) |
constexpr Sample64 | pongasoft::VST::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) |