mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-24 08:22:52 +00:00
audout_u: Correct IAudioOut initializer list order
Orders elements in the precise order they'll be initialized.
This commit is contained in:
parent
46fbf6dd92
commit
57d007e545
|
@ -28,7 +28,7 @@ constexpr int DefaultSampleRate{48000};
|
|||
class IAudioOut final : public ServiceFramework<IAudioOut> {
|
||||
public:
|
||||
IAudioOut(AudoutParams audio_params, AudioCore::AudioOut& audio_core)
|
||||
: ServiceFramework("IAudioOut"), audio_params(audio_params), audio_core(audio_core) {
|
||||
: ServiceFramework("IAudioOut"), audio_core(audio_core), audio_params(audio_params) {
|
||||
|
||||
static const FunctionInfo functions[] = {
|
||||
{0, &IAudioOut::GetAudioOutState, "GetAudioOutState"},
|
||||
|
|
Loading…
Reference in a new issue