diff options
| author | bunnei <bunneidev@gmail.com> | 2020-11-25 10:50:52 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-25 10:50:52 -0800 |
| commit | b7f1095980d614842f6264667d9ddd38186d57ff (patch) | |
| tree | 980eba01298d420dad312534e93f8fbd82e3ba76 /src/audio_core/audio_out.h | |
| parent | 9aeada734d4e1793ce2e7c57678e83501f292afc (diff) | |
| parent | 908d3c56793ee67dccd0d370b175c4937420053f (diff) | |
Merge pull request #4932 from ogniK5377/misc-audio
audren: Make use of nodiscard, rework downmixing, release all buffers
Diffstat (limited to 'src/audio_core/audio_out.h')
| -rw-r--r-- | src/audio_core/audio_out.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/audio_core/audio_out.h b/src/audio_core/audio_out.h index b07588287..6ce08cd0d 100644 --- a/src/audio_core/audio_out.h +++ b/src/audio_core/audio_out.h @@ -31,6 +31,9 @@ public: /// Returns a vector of recently released buffers specified by tag for the specified stream std::vector<Buffer::Tag> GetTagsAndReleaseBuffers(StreamPtr stream, std::size_t max_count); + /// Returns a vector of all recently released buffers specified by tag for the specified stream + std::vector<Buffer::Tag> GetTagsAndReleaseBuffers(StreamPtr stream); + /// Starts an audio stream for playback void StartStream(StreamPtr stream); |
