Fix build due to missing includes
Fixes build errors introduced in
7db3fa94a1
This commit is contained in:
@@ -25,8 +25,10 @@
|
||||
#ifndef AUDIO_SOUNDIO_H
|
||||
#define AUDIO_SOUNDIO_H
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "lmmsconfig.h"
|
||||
#include "ComboBoxModel.h"
|
||||
|
||||
#ifdef LMMS_HAVE_SOUNDIO
|
||||
|
||||
|
||||
@@ -24,6 +24,9 @@
|
||||
|
||||
#include "MixHelpers.h"
|
||||
|
||||
#ifdef LMMS_DEBUG
|
||||
#include <cstdio>
|
||||
#endif
|
||||
|
||||
#include <cmath>
|
||||
#include <QtGlobal>
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user