summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-02 15:51:47 +0200
committerGitHub <noreply@github.com>2018-08-02 15:51:47 +0200
commita03c644aed943397f7a4e44715a167e0471b6262 (patch)
tree80bbfcc60a2a5535e944fd85dd8530ca5e6d0c96 /src
parentMerge pull request #888 from lioncash/caps (diff)
parentaudio_out: Use Buffer::Tag alias in GetTagsAndReleaseBuffers()'s prototype (diff)
downloadyuzu-a03c644aed943397f7a4e44715a167e0471b6262.tar
yuzu-a03c644aed943397f7a4e44715a167e0471b6262.tar.gz
yuzu-a03c644aed943397f7a4e44715a167e0471b6262.tar.bz2
yuzu-a03c644aed943397f7a4e44715a167e0471b6262.tar.lz
yuzu-a03c644aed943397f7a4e44715a167e0471b6262.tar.xz
yuzu-a03c644aed943397f7a4e44715a167e0471b6262.tar.zst
yuzu-a03c644aed943397f7a4e44715a167e0471b6262.zip
Diffstat (limited to 'src')
-rw-r--r--src/audio_core/audio_out.cpp2
-rw-r--r--src/audio_core/audio_out.h2
2 files changed, 2 insertions, 2 deletions
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<u64> AudioOut::GetTagsAndReleaseBuffers(StreamPtr stream, size_t max_count) {
+std::vector<Buffer::Tag> 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<u64> GetTagsAndReleaseBuffers(StreamPtr stream, size_t max_count);
+ std::vector<Buffer::Tag> GetTagsAndReleaseBuffers(StreamPtr stream, size_t max_count);
/// Starts an audio stream for playback
void StartStream(StreamPtr stream);