diff options
| author | 2021-01-24 19:13:34 +1100 | |
|---|---|---|
| committer | 2021-01-24 19:13:34 +1100 | |
| commit | b2b95e96c159afe3226fe6a001ff780a38813fe4 (patch) | |
| tree | 701c946a772d58bca5b1fd153c324a98d622ec04 /src/audio_core/stream.h | |
| parent | Merge pull request #5806 from bunnei/am-stub (diff) | |
| download | yuzu-b2b95e96c159afe3226fe6a001ff780a38813fe4.tar.gz yuzu-b2b95e96c159afe3226fe6a001ff780a38813fe4.tar.xz yuzu-b2b95e96c159afe3226fe6a001ff780a38813fe4.zip | |
audout: FlushAudioOutBuffers
Fixes Devil May Cry
Diffstat (limited to 'src/audio_core/stream.h')
| -rw-r--r-- | src/audio_core/stream.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio_core/stream.h b/src/audio_core/stream.h index 506ac536b..559844b9b 100644 --- a/src/audio_core/stream.h +++ b/src/audio_core/stream.h | |||
| @@ -56,6 +56,9 @@ public: | |||
| 56 | /// Queues a buffer into the audio stream, returns true on success | 56 | /// Queues a buffer into the audio stream, returns true on success |
| 57 | bool QueueBuffer(BufferPtr&& buffer); | 57 | bool QueueBuffer(BufferPtr&& buffer); |
| 58 | 58 | ||
| 59 | /// Flush audio buffers | ||
| 60 | bool Flush(); | ||
| 61 | |||
| 59 | /// Returns true if the audio stream contains a buffer with the specified tag | 62 | /// Returns true if the audio stream contains a buffer with the specified tag |
| 60 | [[nodiscard]] bool ContainsBuffer(Buffer::Tag tag) const; | 63 | [[nodiscard]] bool ContainsBuffer(Buffer::Tag tag) const; |
| 61 | 64 | ||