diff options
author | merry <git@mary.rs> | 2022-04-02 21:49:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-02 21:49:21 +0200 |
commit | 7f1e66e94be9a207bf5ec21cd6f02562bde25eca (patch) | |
tree | 5bb1a72eb10bf424ceef8af7ee6ca64849d43268 /src/audio_core/sdl2_sink.cpp | |
parent | Merge pull request #8141 from merryhime/configure-hotkeys-columns (diff) | |
parent | audio_core: remove time stretcher (diff) | |
download | yuzu-7f1e66e94be9a207bf5ec21cd6f02562bde25eca.tar yuzu-7f1e66e94be9a207bf5ec21cd6f02562bde25eca.tar.gz yuzu-7f1e66e94be9a207bf5ec21cd6f02562bde25eca.tar.bz2 yuzu-7f1e66e94be9a207bf5ec21cd6f02562bde25eca.tar.lz yuzu-7f1e66e94be9a207bf5ec21cd6f02562bde25eca.tar.xz yuzu-7f1e66e94be9a207bf5ec21cd6f02562bde25eca.tar.zst yuzu-7f1e66e94be9a207bf5ec21cd6f02562bde25eca.zip |
Diffstat (limited to 'src/audio_core/sdl2_sink.cpp')
-rw-r--r-- | src/audio_core/sdl2_sink.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/audio_core/sdl2_sink.cpp b/src/audio_core/sdl2_sink.cpp index 62d3716a6..2d14ce2cb 100644 --- a/src/audio_core/sdl2_sink.cpp +++ b/src/audio_core/sdl2_sink.cpp @@ -7,7 +7,6 @@ #include <cstring> #include "audio_core/sdl2_sink.h" #include "audio_core/stream.h" -#include "audio_core/time_stretch.h" #include "common/assert.h" #include "common/logging/log.h" //#include "common/settings.h" @@ -27,7 +26,7 @@ namespace AudioCore { class SDLSinkStream final : public SinkStream { public: SDLSinkStream(u32 sample_rate, u32 num_channels_, const std::string& output_device) - : num_channels{std::min(num_channels_, 6u)}, time_stretch{sample_rate, num_channels} { + : num_channels{std::min(num_channels_, 6u)} { SDL_AudioSpec spec; spec.freq = sample_rate; @@ -116,7 +115,6 @@ private: SDL_AudioDeviceID dev = 0; u32 num_channels{}; std::atomic<bool> should_flush{}; - TimeStretcher time_stretch; }; SDLSink::SDLSink(std::string_view target_device_name) { |