forked from ShuriZma/suyu
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> {
|
class IAudioOut final : public ServiceFramework<IAudioOut> {
|
||||||
public:
|
public:
|
||||||
IAudioOut(AudoutParams audio_params, AudioCore::AudioOut& audio_core)
|
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[] = {
|
static const FunctionInfo functions[] = {
|
||||||
{0, &IAudioOut::GetAudioOutState, "GetAudioOutState"},
|
{0, &IAudioOut::GetAudioOutState, "GetAudioOutState"},
|
||||||
|
|
Loading…
Reference in New Issue