Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
diff --git a/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp b/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp
index 71caf42d8..39146d7d6 100644
--- a/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp
+++ b/libs/openFrameworks/sound/ofOpenALSoundPlayer.cpp
@@ -7,7 +7,6 @@
#include "glm/common.hpp"
#include "ofLog.h"
#include "ofEvents.h"
-#include <sndfile.h>
#if defined (TARGET_OF_IOS) || defined (TARGET_OSX)
#include <OpenAL/al.h>
diff --git a/libs/openFrameworks/sound/ofOpenALSoundPlayer.h b/libs/openFrameworks/sound/ofOpenALSoundPlayer.h
index 042f7b354..80df4f90c 100644
--- a/libs/openFrameworks/sound/ofOpenALSoundPlayer.h
+++ b/libs/openFrameworks/sound/ofOpenALSoundPlayer.h
@@ -12,10 +12,7 @@ typedef unsigned int ALuint;
#include "kiss_fft.h"
#include "kiss_fftr.h"
-
-
-
-typedef struct SNDFILE_tag SNDFILE ;
+#include <sndfile.h>
#ifdef OF_USING_MPG123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment