Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
Signed-off-by: Alex J Lennon <[email protected]>
  • Loading branch information
ajlennon committed Jul 20, 2024
1 parent 1014708 commit a5a5fef
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
15 changes: 14 additions & 1 deletion lib_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,20 @@ def setup_defines_and_flags(env, src_out):
env.Append(CPPDEFINES=["TRACY_ENABLE", "TRACY_ON_DEMAND", "TRACY_DELAYED_INIT", "TRACY_MANUAL_LIFETIME"])
src_out.append("src/thirdparty/tracy/public/TracyClient.cpp")

if env["platform"] == "linux":
env.Append(
CPPPATH="opus/include",
LIBS=["opus"],
LIBPATH=["opus/build", "opus/build/Debug", "opus/build/Release"]
)

if env["platform"] == "windows":
env.Append(
LINKFLAGS=[
"/WX:NO"
]
)

if env["platform"] == "linux" or env["platform"] == "android":
env.Append(
LINKFLAGS=[
"-static-libgcc",
Expand Down
2 changes: 1 addition & 1 deletion src/audio_effect_opus_chunked.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
#include <godot_cpp/variant/utility_functions.hpp>
#include <godot_cpp/classes/node.hpp>

#include "../opus/include/opus.h"
#include "opus.h"
#include "speex_resampler/speex_resampler.h"

#ifdef OVR_LIP_SYNC
Expand Down
2 changes: 1 addition & 1 deletion src/audio_stream_opus_chunked.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#include <godot_cpp/variant/utility_functions.hpp>
#include <godot_cpp/classes/node.hpp>

#include "../opus/include/opus.h"
#include "opus.h"
#include "speex_resampler/speex_resampler.h"

namespace godot {
Expand Down

0 comments on commit a5a5fef

Please sign in to comment.