search for: shrt_min

Displaying 4 results from an estimated 4 matches for "shrt_min".

Did you mean: shrt_max
2004 Jul 15
2
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...0xff /* max value for a unsigned char */ #if defined(_CHAR_UNSIGNED) || defined(__CHAR_UNSIGNED__) #define CHAR_MIN 0 #define CHAR_MAX UCHAR_MAX #else #define CHAR_MIN SCHAR_MIN /* mim value for a char */ #define CHAR_MAX SCHAR_MAX /* max value for a char */ #endif /* _CHAR_UNSIGNED */ #define SHRT_MIN (-32768) /* min value for (signed) short */ #define SHRT_MAX 32767 /* max value for (signed) short */ #define USHRT_MAX 0xffff /* max value for unsigned short */ #define INT_MIN (-2147483647-1) /* min value for (signed) int */ #define INT_MAX 2147483647 /* max value for (signed) in...
2004 Jul 14
0
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...0xff /* max value for a unsigned char */ #if defined(_CHAR_UNSIGNED) || defined(__CHAR_UNSIGNED__) #define CHAR_MIN 0 #define CHAR_MAX UCHAR_MAX #else #define CHAR_MIN SCHAR_MIN /* mim value for a char */ #define CHAR_MAX SCHAR_MAX /* max value for a char */ #endif /* _CHAR_UNSIGNED */ #define SHRT_MIN (-32768) /* min value for (signed) short */ #define SHRT_MAX 32767 /* max value for (signed) short */ #define USHRT_MAX 0xffff /* max value for unsigned short */ #define INT_MIN (-2147483647-1) /* min value for (signed) int */ #define INT_MAX 2147483647 /* max value for (signed) in...
2004 Jul 15
0
[LLVMdev] Constants.cpp:368: error: `INT8_MAX' undeclared(firstuse this function)
...#if defined(_CHAR_UNSIGNED) || defined(__CHAR_UNSIGNED__) > #define CHAR_MIN 0 > #define CHAR_MAX UCHAR_MAX > #else > #define CHAR_MIN SCHAR_MIN /* mim value for a char */ > #define CHAR_MAX SCHAR_MAX /* max value for a char */ > #endif /* _CHAR_UNSIGNED */ > > > #define SHRT_MIN (-32768) /* min value for (signed) short */ > #define SHRT_MAX 32767 /* max value for (signed) short */ > #define USHRT_MAX 0xffff /* max value for unsigned short */ > > #define INT_MIN (-2147483647-1) /* min value for (signed) int */ > #define INT_MAX 2147483647 /* m...
2014 Jan 20
2
Float audio question
I've had trouble getting a definitive answer to this one, so please forgive me for asking here. When converting between integer and float audio samples, what is the preferred scale factor? For example, if you were converting to signed 8-bit, the possible range is -128 to 127. Do you map float -1.0 to -127 or -128? Brendan