mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-22 22:05:47 +00:00
audout: FlushAudioOutBuffers
Fixes Devil May Cry
This commit is contained in:
parent
79efa66bff
commit
b467478dcf
3 changed files with 20 additions and 1 deletions
|
@ -56,6 +56,9 @@ public:
|
|||
/// Queues a buffer into the audio stream, returns true on success
|
||||
bool QueueBuffer(BufferPtr&& buffer);
|
||||
|
||||
/// Flush audio buffers
|
||||
bool Flush();
|
||||
|
||||
/// Returns true if the audio stream contains a buffer with the specified tag
|
||||
[[nodiscard]] bool ContainsBuffer(Buffer::Tag tag) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue