aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/time_stretch.h
diff options
context:
space:
mode:
authorMerryMage <MerryMage@users.noreply.github.com>2018-09-12 18:07:16 +0100
committerMerryMage <MerryMage@users.noreply.github.com>2018-09-12 18:09:14 +0100
commit957ddab6796cb6f644c60993c3035d8bd9c0a398 (patch)
tree17c3d0a96f47959a9c26d4f202003e5c2858fde3 /src/audio_core/time_stretch.h
parent55af5bda5574a34716680b23aab6482d340a00ed (diff)
audio_core: Flush stream when not playing anything
Diffstat (limited to 'src/audio_core/time_stretch.h')
-rw-r--r--src/audio_core/time_stretch.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio_core/time_stretch.h b/src/audio_core/time_stretch.h
index 0322b8b78..7e39e695e 100644
--- a/src/audio_core/time_stretch.h
+++ b/src/audio_core/time_stretch.h
@@ -24,6 +24,8 @@ public:
void Clear();
+ void Flush();
+
private:
u32 m_sample_rate;
u32 m_channel_count;