aboutsummaryrefslogtreecommitdiff
path: root/src/audio_core/audio_renderer.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-09-23 20:01:02 -0400
committerLioncash <mathew1800@gmail.com>2018-09-23 20:03:38 -0400
commit2f6a6113118a6d23bc88b7c3e3d1bfee28c11f63 (patch)
tree52a37fb98b002943669ab96ad1bdecd3cd42f6d9 /src/audio_core/audio_renderer.cpp
parent9f3fc067bf6fd1a26f48213e73f32f1635cbd04d (diff)
stream: Preserve enum class type in GetState()
Preserves the meaning/type-safetiness of the stream state instead of making it an opaque u32. This makes it usable for other things outside of the service HLE context.
Diffstat (limited to 'src/audio_core/audio_renderer.cpp')
-rw-r--r--src/audio_core/audio_renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio_core/audio_renderer.cpp b/src/audio_core/audio_renderer.cpp
index 521b19ff7f..6f0ff953a3 100644
--- a/src/audio_core/audio_renderer.cpp
+++ b/src/audio_core/audio_renderer.cpp
@@ -79,7 +79,7 @@ u32 AudioRenderer::GetMixBufferCount() const {
return worker_params.mix_buffer_count;
}
-u32 AudioRenderer::GetState() const {
+Stream::State AudioRenderer::GetStreamState() const {
return stream->GetState();
}