Skip to content

Commit

Permalink
removed unnecesarry lines from cmake file, removed spatializer androi…
Browse files Browse the repository at this point in the history
…d preprocessor check
  • Loading branch information
ozguronsoy committed May 23, 2024
1 parent 274c821 commit 27eea09
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ elseif (CMAKE_SYSTEM_NAME STREQUAL "Android")

elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")

file(GLOB HEPH_AUDIO
${HEPH_AUDIO}
${CMAKE_CURRENT_LIST_DIR}/dependencies/libsofa/src/*.cpp
)

set(
HEPHAUDIO_LINK_LIBS
asound
Expand Down
4 changes: 1 addition & 3 deletions HephAudio/HeaderFiles/Spatializer.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#pragma once
#if !defined(__ANDROID__)
#include "HephAudioShared.h"
#include "AudioBuffer.h"
#include "FloatBuffer.h"
Expand Down Expand Up @@ -37,5 +36,4 @@ namespace HephAudio
private:
static std::string GetErrorString(int errorCode);
};
}
#endif
}
4 changes: 1 addition & 3 deletions HephAudio/SourceFiles/Spatializer.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#if !defined(__ANDROID__)
#include "Spatializer.h"
#include "HephException.h"
#include "File.h"
Expand Down Expand Up @@ -198,5 +197,4 @@ namespace HephAudio
return "Unknown error.";
}
}
}
#endif
}

0 comments on commit 27eea09

Please sign in to comment.