20 #include "../basic_types.h"
21 #include "../utils/utils.hpp"
116 x = (decltype(
x))( S.
x >> 8 );
120 x = (decltype(
x))( S.
x >> 24 );
149 x = (decltype(
x))( S.
x >> 8 );
209 x = S.
x / 2147483648.0f;
222 const in* stop = input +
count;
224 for (
const in*
pi = input;
pi < stop;
pi++, po++)
const char *const AUDIO_FORMAT_NAME[]
uint32_t msize
memory size
const int AUDIO_SAMPLE_SIZE[]
bool operator!=(const sample16 &A, const sample16 &B)
AudioSampleFormat
Format of audio samples.
@ Int8
signed integer, 8 bit per sample
@ Int32
signed integer, 32 bit per sample
@ Float32
floating point, 32 bit per sample
@ Int16
signed integer, 16 bit per sample
void convertSamples(in *const input, void *output, msize count)
void operator=(const sample8 S)
static const int MAX_VALUE
static const int MIN_VALUE
bool operator<(const sample16 &sample) const
bool operator<(const sample32 &sample) const
static const long MIN_VALUE
void operator=(const sample8 S)
static const long MAX_VALUE
bool operator<(const sample32f &sample) const
static const float MAX_VALUE
void operator=(const sample8 S)
static const float MIN_VALUE
static const int MIN_VALUE
void operator=(const sample16 S)
static const int MAX_VALUE
bool operator<(const sample8 &sample) const
#define roundf_fast(X)
rounding (nearest integer)
JNIEnv jlong jint jint count