From c1c397d37cc71429189b842558f6c6d00c935ebd Mon Sep 17 00:00:00 2001 From: Lioncash Date: Thu, 2 Aug 2018 00:10:21 -0400 Subject: audio_out: Use Buffer::Tag alias in GetTagsAndReleaseBuffers()'s prototype This makes the Buffer::Tag usage consistent with the Stream class's prototype of GetTagsAndReleaseBuffers(). --- src/audio_core/audio_out.cpp | 2 +- src/audio_core/audio_out.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/audio_core') diff --git a/src/audio_core/audio_out.cpp b/src/audio_core/audio_out.cpp index 0cabaa354..3dfdf61f9 100644 --- a/src/audio_core/audio_out.cpp +++ b/src/audio_core/audio_out.cpp @@ -39,7 +39,7 @@ StreamPtr AudioOut::OpenStream(u32 sample_rate, u32 num_channels, sink->AcquireSinkStream(sample_rate, num_channels)); } -std::vector AudioOut::GetTagsAndReleaseBuffers(StreamPtr stream, size_t max_count) { +std::vector AudioOut::GetTagsAndReleaseBuffers(StreamPtr stream, size_t max_count) { return stream->GetTagsAndReleaseBuffers(max_count); } diff --git a/src/audio_core/audio_out.h b/src/audio_core/audio_out.h index 8d9b695d4..95e9b53fe 100644 --- a/src/audio_core/audio_out.h +++ b/src/audio_core/audio_out.h @@ -24,7 +24,7 @@ public: Stream::ReleaseCallback&& release_callback); /// Returns a vector of recently released buffers specified by tag for the specified stream - std::vector GetTagsAndReleaseBuffers(StreamPtr stream, size_t max_count); + std::vector GetTagsAndReleaseBuffers(StreamPtr stream, size_t max_count); /// Starts an audio stream for playback void StartStream(StreamPtr stream); -- cgit v1.2.3