From e056bcb5fff6e2a47fcb1be5cc62c02da23a1483 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 21 Sep 2024 17:21:19 +1000 Subject: [PATCH] AudioStream: Fix incorrect padding --- src/core/playstation_mouse.cpp | 1 + src/util/audio_stream.h | 8 ++------ 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/core/playstation_mouse.cpp b/src/core/playstation_mouse.cpp index b7fb5207f..f41443fce 100644 --- a/src/core/playstation_mouse.cpp +++ b/src/core/playstation_mouse.cpp @@ -14,6 +14,7 @@ #include "IconsPromptFont.h" #include +#include Log_SetChannel(PlayStationMouse); diff --git a/src/util/audio_stream.h b/src/util/audio_stream.h index 9222e97a4..127e9ec7c 100644 --- a/src/util/audio_stream.h +++ b/src/util/audio_stream.h @@ -8,7 +8,6 @@ #include #include -#include #include #include #include @@ -21,8 +20,6 @@ namespace soundtouch { class SoundTouch; } -struct kiss_fftr_state; - enum class AudioBackend : u8 { Null, @@ -47,10 +44,9 @@ enum class AudioStretchMode : u8 struct AudioStreamParameters { AudioStretchMode stretch_mode = DEFAULT_STRETCH_MODE; - u16 buffer_ms = DEFAULT_BUFFER_MS; - u16 output_latency_ms = DEFAULT_OUTPUT_LATENCY_MS; bool output_latency_minimal = DEFAULT_OUTPUT_LATENCY_MINIMAL; - bool pad1 = false; + u16 output_latency_ms = DEFAULT_OUTPUT_LATENCY_MS; + u16 buffer_ms = DEFAULT_BUFFER_MS; u16 stretch_sequence_length_ms = DEFAULT_STRETCH_SEQUENCE_LENGTH; u16 stretch_seekwindow_ms = DEFAULT_STRETCH_SEEKWINDOW;