diff --git a/example-videoRenderer/config.make b/example-videoRenderer/config.make index 2a8f814b..a323d8d3 100644 --- a/example-videoRenderer/config.make +++ b/example-videoRenderer/config.make @@ -10,7 +10,7 @@ OF_ROOT = ../../.. # for example search paths like: # USER_CFLAGS = -I src/objects -USER_CFLAGS = +USER_CFLAGS = -DTIMELINE_VIDEO_INCLUDED # USER_LDFLAGS allows to pass custom flags to the linker diff --git a/libs/ofOpenALSoundPlayer_TimelineAdditions/src/ofOpenALSoundPlayer_TimelineAdditions.cpp b/libs/ofOpenALSoundPlayer_TimelineAdditions/src/ofOpenALSoundPlayer_TimelineAdditions.cpp index 110d3efe..0e8180d1 100644 --- a/libs/ofOpenALSoundPlayer_TimelineAdditions/src/ofOpenALSoundPlayer_TimelineAdditions.cpp +++ b/libs/ofOpenALSoundPlayer_TimelineAdditions/src/ofOpenALSoundPlayer_TimelineAdditions.cpp @@ -1,3 +1,5 @@ + +#if defined (TARGET_WIN32) || defined (TARGET_OSX) #include "ofOpenALSoundPlayer_TimelineAdditions.h" //#ifdef OF_SOUND_PLAYER_OPENAL @@ -1094,4 +1096,4 @@ void ofOpenALSoundPlayer_TimelineAdditions::runWindow(vector & signal){ signal[i] *= window[i]; } -//#endif +#endif diff --git a/libs/ofOpenALSoundPlayer_TimelineAdditions/src/ofOpenALSoundPlayer_TimelineAdditions.h b/libs/ofOpenALSoundPlayer_TimelineAdditions/src/ofOpenALSoundPlayer_TimelineAdditions.h index e75574c7..cb120ab9 100644 --- a/libs/ofOpenALSoundPlayer_TimelineAdditions/src/ofOpenALSoundPlayer_TimelineAdditions.h +++ b/libs/ofOpenALSoundPlayer_TimelineAdditions/src/ofOpenALSoundPlayer_TimelineAdditions.h @@ -1,4 +1,5 @@ #pragma once +#if defined (TARGET_WIN32) || defined (TARGET_OSX) #include "ofConstants.h" @@ -204,3 +205,4 @@ class ofOpenALSoundPlayer_TimelineAdditions : public ofBaseSoundPlayer, public o float justSetTime; }; +#endif