Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/CMakeLists.txt2
-rw-r--r--source/application/StarMainApplication_sdl.cpp3
-rw-r--r--source/vcpkg.json6
3 files changed, 1 insertions, 10 deletions
diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
index cdd32f1..d13d59d 100644
--- a/source/CMakeLists.txt
+++ b/source/CMakeLists.txt
@@ -486,11 +486,9 @@ set(STAR_EXT_LIBS ${STAR_EXT_LIBS}
)
if(STAR_BUILD_GUI)
- find_package(SampleRate CONFIG REQUIRED)
find_package(SDL2 CONFIG REQUIRED)
set(STAR_EXT_GUI_LIBS
- SampleRate::samplerate
$<TARGET_NAME_IF_EXISTS:SDL2::SDL2main>
$<IF:$<TARGET_EXISTS:SDL2::SDL2>,SDL2::SDL2,SDL2::SDL2-static>
)
diff --git a/source/application/StarMainApplication_sdl.cpp b/source/application/StarMainApplication_sdl.cpp
index 49d085a..c697a26 100644
--- a/source/application/StarMainApplication_sdl.cpp
+++ b/source/application/StarMainApplication_sdl.cpp
@@ -271,9 +271,6 @@ public:
#endif
Logger::info("Application: Initializing SDL Audio");
-#if SDL_VERSION_ATLEAST(2, 0, 26)
- SDL_SetHint(SDL_HINT_AUDIO_RESAMPLING_MODE, "fast");
-#endif
if (SDL_InitSubSystem(SDL_INIT_AUDIO))
throw ApplicationException(strf("Couldn't initialize SDL Audio: {}", SDL_GetError()));
diff --git a/source/vcpkg.json b/source/vcpkg.json
index d397f03..f603aab 100644
--- a/source/vcpkg.json
+++ b/source/vcpkg.json
@@ -2,11 +2,7 @@
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg-tool/main/docs/vcpkg.schema.json",
"dependencies": [
"glew",
- "libsamplerate",
- {
- "name": "sdl2",
- "features": [ "samplerate" ]
- },
+ "sdl2",
"libvorbis",
"zlib",
"freetype",