Skip to content

Commit

Permalink
Fix build due to missing includes
Browse files Browse the repository at this point in the history
Fixes build errors introduced in
7db3fa9
  • Loading branch information
PhysSong committed Mar 9, 2022
1 parent a08e7f9 commit 80a6672
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/AudioSoundIo.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
#ifndef AUDIO_SOUNDIO_H
#define AUDIO_SOUNDIO_H

#include <QObject>

#include "lmmsconfig.h"
#include "ComboBoxModel.h"

#ifdef LMMS_HAVE_SOUNDIO

Expand Down
4 changes: 4 additions & 0 deletions src/core/MixHelpers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@

#include "MixHelpers.h"

#ifdef LMMS_DEBUG
#include <cstdio>
#endif

#include <cmath>
#include <QtGlobal>
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 80a6672

Please sign in to comment.