mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 15:35:46 +00:00
audio_core: Flush stream when not playing anything
This commit is contained in:
parent
84b7a67ef1
commit
9ffbfeee26
6 changed files with 23 additions and 0 deletions
|
@ -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>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue