diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2018-09-12 19:07:16 +0200 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2018-09-12 19:09:14 +0200 |
commit | 957ddab6796cb6f644c60993c3035d8bd9c0a398 (patch) | |
tree | 17c3d0a96f47959a9c26d4f202003e5c2858fde3 /src/audio_core/sink_stream.h | |
parent | cubeb_sink: Downsample arbitrary number of channels (diff) | |
download | yuzu-957ddab6796cb6f644c60993c3035d8bd9c0a398.tar yuzu-957ddab6796cb6f644c60993c3035d8bd9c0a398.tar.gz yuzu-957ddab6796cb6f644c60993c3035d8bd9c0a398.tar.bz2 yuzu-957ddab6796cb6f644c60993c3035d8bd9c0a398.tar.lz yuzu-957ddab6796cb6f644c60993c3035d8bd9c0a398.tar.xz yuzu-957ddab6796cb6f644c60993c3035d8bd9c0a398.tar.zst yuzu-957ddab6796cb6f644c60993c3035d8bd9c0a398.zip |
Diffstat (limited to 'src/audio_core/sink_stream.h')
-rw-r--r-- | src/audio_core/sink_stream.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/audio_core/sink_stream.h b/src/audio_core/sink_stream.h index 743a743a3..4309ad094 100644 --- a/src/audio_core/sink_stream.h +++ b/src/audio_core/sink_stream.h @@ -27,6 +27,8 @@ public: virtual void EnqueueSamples(u32 num_channels, const std::vector<s16>& samples) = 0; virtual std::size_t SamplesInQueue(u32 num_channels) const = 0; + + virtual void Flush() = 0; }; using SinkStreamPtr = std::unique_ptr<SinkStream>; |