Commit Graph

8 Commits (fc2419e441dbd2270460c8fe7a92e515c0789fa5)

Author SHA1 Message Date
Lioncash 2f6a611311 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.
David Marcec c461188f51 Added audren:u#GetAudioRendererState
Lioncash 1adbcd54fe audio_renderer: Replace includes with forward declarations where applicable
Avoids including unnecessary headers within the audio_renderer.h header,
lessening the likelihood of needing to rebuild source files including
this header if they ever change.

Given std::vector allows forward declaring contained types, we can move
VoiceState to the cpp file and hide the implementation entirely.
fearlessTobi 63c2e32e20 Port from Citra: "Prefix all size_t with std::"
MerryMage a76f0d5d06 audio_renderer: Rename AudioOut instance to audio_out
MerryMage 4b44b8b4fb audio_core: Interpolate
David Marcec e5ee0afe6f Added GetAudioRendererSampleRate, GetAudioRendererSampleCount & GetAudioRendererMixBufferCount
GetAudioRendererSampleRate is set as a "STUB" as a game could check if the sample rate it sent and the sample rate it wants don't match. Just a thought of something which could happen so keeping it as stub for the mean time
bunnei b46df98e93 audio_core: Implement audren_u audio playback.