9#define INT24_MAX 0x7FFFFF
29 memcpy(&value, ptr, 4);
52#if defined(USE_INT24_FROM_INT)
61 inline void set(
const int32_t &in) {
77 set(((int32_t)other));
85 explicit operator float() {
89 explicit operator int64_t() {
94 int32_t temp =
toInt();
101 int32_t temp =
toInt();
117 return static_cast<int16_t
>(
toInt() >> 8) ;
122 return static_cast<int32_t
>(
toInt() << 8);
134 return static_cast<int16_t
>(value >> 16);
148 template<>
class numeric_limits<
audio_tools::int24_4bytes_t> {
#define INT24_MAX
Definition Int24_3bytes_t.h:9
Definition InitializerList.h:7