diff --git a/modules/opus/SCsub b/modules/opus/SCsub index 491380c826d..4d3053c7ecf 100644 --- a/modules/opus/SCsub +++ b/modules/opus/SCsub @@ -201,6 +201,7 @@ if (env['builtin_opus'] != 'no'): thirdparty_include_paths = [ "", "celt", + "opus", "silk", "silk/fixed", "silk/float", diff --git a/modules/opus/audio_stream_opus.h b/modules/opus/audio_stream_opus.h index 4da66fe1672..abf0b5c150e 100644 --- a/modules/opus/audio_stream_opus.h +++ b/modules/opus/audio_stream_opus.h @@ -36,7 +36,7 @@ #include "os/file_access.h" #include "scene/resources/audio_stream.h" -#include +#include class AudioStreamPlaybackOpus : public AudioStreamPlayback { diff --git a/modules/webm/SCsub b/modules/webm/SCsub index e417fc0cbf6..889f5e83aab 100644 --- a/modules/webm/SCsub +++ b/modules/webm/SCsub @@ -24,7 +24,7 @@ if (env['builtin_libogg'] != 'no'): if (env['builtin_libvorbis'] != 'no'): env_webm.Append(CPPPATH=["#thirdparty/libvorbis"]) if (env['builtin_opus'] != 'no'): - env_webm.Append(CPPPATH=["#thirdparty"]) + env_webm.Append(CPPPATH=["#thirdparty/opus"]) if (env['builtin_libvpx'] != 'no'): Export('env_webm') diff --git a/thirdparty/README.md b/thirdparty/README.md index f61812c71ab..a1445a7a9a1 100644 --- a/thirdparty/README.md +++ b/thirdparty/README.md @@ -158,7 +158,7 @@ Files extracted from upstream source: - all .c and .h files in src/ (both opus and opusfile), except `opus_demo.c` -- all .h files in include/ (both opus and opusfile) +- all .h files in include/ (both opus and opusfile) as opus/ - COPYING diff --git a/thirdparty/opus/opus.h b/thirdparty/opus/opus/opus.h similarity index 100% rename from thirdparty/opus/opus.h rename to thirdparty/opus/opus/opus.h diff --git a/thirdparty/opus/opus_custom.h b/thirdparty/opus/opus/opus_custom.h similarity index 100% rename from thirdparty/opus/opus_custom.h rename to thirdparty/opus/opus/opus_custom.h diff --git a/thirdparty/opus/opus_defines.h b/thirdparty/opus/opus/opus_defines.h similarity index 100% rename from thirdparty/opus/opus_defines.h rename to thirdparty/opus/opus/opus_defines.h diff --git a/thirdparty/opus/opus_multistream.h b/thirdparty/opus/opus/opus_multistream.h similarity index 100% rename from thirdparty/opus/opus_multistream.h rename to thirdparty/opus/opus/opus_multistream.h diff --git a/thirdparty/opus/opus_types.h b/thirdparty/opus/opus/opus_types.h similarity index 100% rename from thirdparty/opus/opus_types.h rename to thirdparty/opus/opus/opus_types.h diff --git a/thirdparty/opus/opusfile.h b/thirdparty/opus/opus/opusfile.h similarity index 100% rename from thirdparty/opus/opusfile.h rename to thirdparty/opus/opus/opusfile.h