From 2f6a6113118a6d23bc88b7c3e3d1bfee28c11f63 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sun, 23 Sep 2018 20:01:02 -0400 Subject: 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. --- src/audio_core/audio_renderer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/audio_core/audio_renderer.h') diff --git a/src/audio_core/audio_renderer.h b/src/audio_core/audio_renderer.h index be923ee65..dfef89e1d 100644 --- a/src/audio_core/audio_renderer.h +++ b/src/audio_core/audio_renderer.h @@ -170,7 +170,7 @@ public: u32 GetSampleRate() const; u32 GetSampleCount() const; u32 GetMixBufferCount() const; - u32 GetState() const; + Stream::State GetStreamState() const; private: class VoiceState; -- cgit v1.2.3