1
1
Fork 0
forked from suyu/suyu

audout_u: Correct IAudioOut initializer list order

Orders elements in the precise order they'll be initialized.
This commit is contained in:
Lioncash 2018-08-13 18:23:55 -04:00
parent 46fbf6dd92
commit 57d007e545

View file

@ -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"},