47 lines
981 B
C++
47 lines
981 B
C++
/** @file
|
|
* @author Edouard DUPIN
|
|
* @copyright 2011, Edouard DUPIN, all right reserved
|
|
* @license APACHE v2.0 (see license file)
|
|
*/
|
|
|
|
#ifndef __AUDIO_TYPES_H__
|
|
#define __AUDIO_TYPES_H__
|
|
|
|
namespace audio {
|
|
class int8_8_t;
|
|
class int8_16_t;
|
|
class int16_16_t;
|
|
class int16_32_t;
|
|
class int24_24_t;
|
|
class int24_32_t;
|
|
class int32_32_t;
|
|
class int32_64_t;
|
|
class int64_64_t;
|
|
class float_t;
|
|
class double_t;
|
|
}
|
|
|
|
#define INT24_MIN 0xFFFFFFFFFF800000LL
|
|
#define INT24_MAX 0x00000000007FFFFFLL
|
|
|
|
#define INT40_MIN 0xFFFFFF8000000000LL
|
|
#define INT40_MAX 0x0000007FFFFFFFFFLL
|
|
|
|
#define INT56_MIN 0xFFFF800000000000LL
|
|
#define INT56_MAX 0x00007FFFFFFFFFFFLL
|
|
|
|
#include <audio/int8_8_t.h>
|
|
#include <audio/int8_16_t.h>
|
|
#include <audio/int16_16_t.h>
|
|
#include <audio/int16_32_t.h>
|
|
#include <audio/int24_24_t.h>
|
|
#include <audio/int24_32_t.h>
|
|
#include <audio/int32_32_t.h>
|
|
#include <audio/int32_64_t.h>
|
|
#include <audio/int64_64_t.h>
|
|
#include <audio/float_t.h>
|
|
#include <audio/double_t.h>
|
|
|
|
#endif
|
|
|