diff --git a/include/AudioSoundIo.h b/include/AudioSoundIo.h index 082c4bfdb..5dbd35250 100644 --- a/include/AudioSoundIo.h +++ b/include/AudioSoundIo.h @@ -25,8 +25,10 @@ #ifndef AUDIO_SOUNDIO_H #define AUDIO_SOUNDIO_H +#include #include "lmmsconfig.h" +#include "ComboBoxModel.h" #ifdef LMMS_HAVE_SOUNDIO diff --git a/src/core/MixHelpers.cpp b/src/core/MixHelpers.cpp index 70506a93a..816104061 100644 --- a/src/core/MixHelpers.cpp +++ b/src/core/MixHelpers.cpp @@ -24,6 +24,9 @@ #include "MixHelpers.h" +#ifdef LMMS_DEBUG +#include +#endif #include #include @@ -102,6 +105,7 @@ bool sanitize( sampleFrame * src, int frames ) if( std::isinf( src[f][c] ) || std::isnan( src[f][c] ) ) { #ifdef LMMS_DEBUG + // TODO don't use printf here printf("Bad data, clearing buffer. frame: "); printf("%d: value %f\n", f, src[f][c]); #endif