diff --git a/RtAudio.cpp b/RtAudio.cpp index ac6bee92..4a33e9a9 100644 --- a/RtAudio.cpp +++ b/RtAudio.cpp @@ -10911,12 +10911,10 @@ unsigned int RtApi :: formatBytes( RtAudioFormat format ) { if ( format == RTAUDIO_SINT16 ) return 2; - else if ( format == RTAUDIO_SINT32 || format == RTAUDIO_FLOAT32 ) + else if ( format == RTAUDIO_SINT32 || format == RTAUDIO_FLOAT32 || format == RTAUDIO_SINT24) return 4; else if ( format == RTAUDIO_FLOAT64 ) return 8; - else if ( format == RTAUDIO_SINT24 ) - return 3; else if ( format == RTAUDIO_SINT8 ) return 1; diff --git a/RtAudio.h b/RtAudio.h index e767ddb2..17fb5bdc 100644 --- a/RtAudio.h +++ b/RtAudio.h @@ -711,7 +711,7 @@ struct CallbackInfo { class S24 { protected: - unsigned char c3[3]; + unsigned char c3[4]; public: S24() {} diff --git a/configure.ac b/configure.ac index 67dca684..35f9d996 100644 --- a/configure.ac +++ b/configure.ac @@ -19,7 +19,7 @@ AM_INIT_AUTOMAKE([1.14 -Wall -Werror foreign subdir-objects]) # # If any interfaces have been removed since the last public release, then set # age to 0. -m4_define([lt_current], 7) +m4_define([lt_current], 8) m4_define([lt_revision], 0) m4_define([lt_age], 0)