yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

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
1 changed files with 1 additions and 1 deletions

View File

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