Skip to content

Instantly share code, notes, and snippets.

@kerrickstaley
Created July 27, 2022 02:11
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kerrickstaley/7f8c65a27a1f4e79a942235b87c1f0c0 to your computer and use it in GitHub Desktop.
Save kerrickstaley/7f8c65a27a1f4e79a942235b87c1f0c0 to your computer and use it in GitHub Desktop.
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