Fix build due to missing includes

Fixes build errors introduced in
7db3fa94a1
This commit is contained in:
Hyunjin Song
2022-03-09 11:50:35 +09:00
parent a08e7f9029
commit 80a6672da4
2 changed files with 6 additions and 0 deletions

View File

@@ -25,8 +25,10 @@
#ifndef AUDIO_SOUNDIO_H
#define AUDIO_SOUNDIO_H
#include <QObject>
#include "lmmsconfig.h"
#include "ComboBoxModel.h"
#ifdef LMMS_HAVE_SOUNDIO

View File

@@ -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