#include "SoundFileCA.h"Defines | |
| #define | CONVERT_16_BIT(unsV, sinV, bigE) |
| #define | CONVERT_24_BIT(res, ptr, bigE) |
Typedefs | |
| typedef signed char | int8 |
| typedef unsigned char | uint8 |
| typedef signed short | int16 |
| typedef unsigned short | uint16 |
| typedef signed int | int32 |
| typedef unsigned int | uint32 |
| #define CONVERT_16_BIT | ( | unsV, | |||
| sinV, | |||||
| bigE | ) |
Value:
if (bigE) \ unsV = ((unsV << 8) | (unsV >> 8)); \ sinV = unsV & 0x7fff; \ if (unsV & 0x8000) \ sinV += 0x8000
Referenced by csl::CASoundFile::readBufferFromFile().
| #define CONVERT_24_BIT | ( | res, | |||
| ptr, | |||||
| bigE | ) |
| typedef signed char int8 |
| typedef unsigned char uint8 |
| typedef signed short int16 |
| typedef unsigned short uint16 |
| typedef signed int int32 |
| typedef unsigned int uint32 |
1.5.8