mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-01-08 15:39:14 +01:00
audout: FlushAudioOutBuffers
Fixes Devil May Cry
This commit is contained in:
parent
f7ac4e1eb4
commit
b2b95e96c1
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