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:
parent
9f3fc067bf
commit
2f6a611311
5 changed files with 12 additions and 12 deletions
|
@ -170,7 +170,7 @@ public:
|
|||
u32 GetSampleRate() const;
|
||||
u32 GetSampleCount() const;
|
||||
u32 GetMixBufferCount() const;
|
||||
u32 GetState() const;
|
||||
Stream::State GetStreamState() const;
|
||||
|
||||
private:
|
||||
class VoiceState;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue