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.
This commit is contained in:
Lioncash 2018-09-23 20:01:02 -04:00
parent e0c63533ab
commit 9254ec6fde
5 changed files with 12 additions and 12 deletions

View file

@ -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();
}