Loading lib_util/tinywaveout_c.h +4 −14 Original line number Diff line number Diff line Loading @@ -241,13 +241,8 @@ static WAVEFILEOUT *CreateWav( return CreateBWF( fileName, sampleRate, numChannels, bps ); } #ifdef DEBUG_SBA #define MAX_PCM16 ( 32767 ) #define MIN_PCM16 ( -32768 ) #else const int16_t MAX_PCM16 = 32767; const int16_t MIN_PCM16 = -32768; #endif static const int16_t MAX_PCM16 = 32767; static const int16_t MIN_PCM16 = -32768; static __inline int32_t CLIP_PCM16( int32_t sample, uint32_t *clipcount ) Loading @@ -271,13 +266,8 @@ static __inline int32_t CLIP_PCM16( return tmp; } #ifdef DEBUG_SBA #define MAX_PCM24 ( 8388607 ) #define MIN_PCM24 ( -8388608 ) #else const int32_t MAX_PCM24 = 8388607; const int32_t MIN_PCM24 = -8388608; #endif static const int32_t MAX_PCM24 = 8388607; static const int32_t MIN_PCM24 = -8388608; static __inline int32_t CLIP_PCM24( int32_t sample, uint32_t *clipcount ) Loading Loading
lib_util/tinywaveout_c.h +4 −14 Original line number Diff line number Diff line Loading @@ -241,13 +241,8 @@ static WAVEFILEOUT *CreateWav( return CreateBWF( fileName, sampleRate, numChannels, bps ); } #ifdef DEBUG_SBA #define MAX_PCM16 ( 32767 ) #define MIN_PCM16 ( -32768 ) #else const int16_t MAX_PCM16 = 32767; const int16_t MIN_PCM16 = -32768; #endif static const int16_t MAX_PCM16 = 32767; static const int16_t MIN_PCM16 = -32768; static __inline int32_t CLIP_PCM16( int32_t sample, uint32_t *clipcount ) Loading @@ -271,13 +266,8 @@ static __inline int32_t CLIP_PCM16( return tmp; } #ifdef DEBUG_SBA #define MAX_PCM24 ( 8388607 ) #define MIN_PCM24 ( -8388608 ) #else const int32_t MAX_PCM24 = 8388607; const int32_t MIN_PCM24 = -8388608; #endif static const int32_t MAX_PCM24 = 8388607; static const int32_t MIN_PCM24 = -8388608; static __inline int32_t CLIP_PCM24( int32_t sample, uint32_t *clipcount ) Loading