move TPCircularBuffer submodule

This commit is contained in:
ReenigneArcher 2022-08-07 23:13:19 -04:00
parent 1d242aed7c
commit 0de52efdb1
No known key found for this signature in database
GPG Key ID: 0CA6A47B0630EA9B
4 changed files with 5 additions and 5 deletions

4
.gitmodules vendored
View File

@ -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

View File

@ -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")

View File

@ -3,7 +3,7 @@
#import <AVFoundation/AVFoundation.h>
#include "sunshine/platform/macos/TPCircularBuffer/TPCircularBuffer.h"
#include "third-party/TPCircularBuffer/TPCircularBuffer.h"
#define kBufferLength 2048