From 0de52efdb119959ee60fd8246c5b63b4aebdaf91 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Sun, 7 Aug 2022 23:13:19 -0400 Subject: [PATCH] move TPCircularBuffer submodule --- .gitmodules | 4 ++-- CMakeLists.txt | 4 ++-- sunshine/platform/macos/av_audio.h | 2 +- {sunshine/platform/macos => third-party}/TPCircularBuffer | 0 4 files changed, 5 insertions(+), 5 deletions(-) rename {sunshine/platform/macos => third-party}/TPCircularBuffer (100%) diff --git a/.gitmodules b/.gitmodules index 814f3409..1b60acde 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,6 +13,6 @@ [submodule "third-party/nv-codec-headers"] path = third-party/nv-codec-headers url = https://github.com/FFmpeg/nv-codec-headers -[submodule "sunshine/platform/macos/TPCircularBuffer"] - path = sunshine/platform/macos/TPCircularBuffer +[submodule "third-party/TPCircularBuffer"] + path = third-party/TPCircularBuffer url = https://github.com/michaeltyson/TPCircularBuffer diff --git a/CMakeLists.txt b/CMakeLists.txt index 5e94d53a..0a18d3eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -193,8 +193,8 @@ elseif(APPLE) sunshine/platform/macos/nv12_zero_device.cpp sunshine/platform/macos/nv12_zero_device.h sunshine/platform/macos/publish.cpp - sunshine/platform/macos/TPCircularBuffer/TPCircularBuffer.c - sunshine/platform/macos/TPCircularBuffer/TPCircularBuffer.h + third-party/TPCircularBuffer/TPCircularBuffer.c + third-party/TPCircularBuffer/TPCircularBuffer.h ${APPLE_PLIST_FILE}) else() add_compile_definitions(SUNSHINE_PLATFORM="linux") diff --git a/sunshine/platform/macos/av_audio.h b/sunshine/platform/macos/av_audio.h index 8c04e5bb..2a0b5a43 100644 --- a/sunshine/platform/macos/av_audio.h +++ b/sunshine/platform/macos/av_audio.h @@ -3,7 +3,7 @@ #import -#include "sunshine/platform/macos/TPCircularBuffer/TPCircularBuffer.h" +#include "third-party/TPCircularBuffer/TPCircularBuffer.h" #define kBufferLength 2048 diff --git a/sunshine/platform/macos/TPCircularBuffer b/third-party/TPCircularBuffer similarity index 100% rename from sunshine/platform/macos/TPCircularBuffer rename to third-party/TPCircularBuffer