summaryrefslogtreecommitdiffstats
path: root/src/audio_core
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-05 09:48:28 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-05-05 09:48:28 +0200
commit740c3498202e7ffe79e0cede54c802a1da0cbb4c (patch)
treeca6ce35a8e214a2dfc0fce26666b08e876d08f4c /src/audio_core
parentMerge pull request #9973 from GPUCode/async-present (diff)
downloadyuzu-740c3498202e7ffe79e0cede54c802a1da0cbb4c.tar
yuzu-740c3498202e7ffe79e0cede54c802a1da0cbb4c.tar.gz
yuzu-740c3498202e7ffe79e0cede54c802a1da0cbb4c.tar.bz2
yuzu-740c3498202e7ffe79e0cede54c802a1da0cbb4c.tar.lz
yuzu-740c3498202e7ffe79e0cede54c802a1da0cbb4c.tar.xz
yuzu-740c3498202e7ffe79e0cede54c802a1da0cbb4c.tar.zst
yuzu-740c3498202e7ffe79e0cede54c802a1da0cbb4c.zip
Diffstat (limited to 'src/audio_core')
-rw-r--r--src/audio_core/sink/sdl2_sink.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/audio_core/sink/sdl2_sink.cpp b/src/audio_core/sink/sdl2_sink.cpp
index ee1a0652f..c1529d1f9 100644
--- a/src/audio_core/sink/sdl2_sink.cpp
+++ b/src/audio_core/sink/sdl2_sink.cpp
@@ -3,6 +3,7 @@
#include <span>
#include <vector>
+#include <SDL.h>
#include "audio_core/common/common.h"
#include "audio_core/sink/sdl2_sink.h"
@@ -10,16 +11,6 @@
#include "common/logging/log.h"
#include "core/core.h"
-// Ignore -Wimplicit-fallthrough due to https://github.com/libsdl-org/SDL/issues/4307
-#ifdef __clang__
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wimplicit-fallthrough"
-#endif
-#include <SDL.h>
-#ifdef __clang__
-#pragma clang diagnostic pop
-#endif
-
namespace AudioCore::Sink {
/**
* SDL sink stream, responsible for sinking samples to hardware.