3
0
Fork 0
forked from suyu/suyu

Merge pull request #1839 from lioncash/init

service/audio/audout_u: Amend constructor initialization list order
This commit is contained in:
bunnei 2018-12-03 17:03:00 -05:00 committed by GitHub
commit 118f402382
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,8 +46,8 @@ class IAudioOut final : public ServiceFramework<IAudioOut> {
public: public:
IAudioOut(AudoutParams audio_params, AudioCore::AudioOut& audio_core, std::string&& device_name, IAudioOut(AudoutParams audio_params, AudioCore::AudioOut& audio_core, std::string&& device_name,
std::string&& unique_name) std::string&& unique_name)
: ServiceFramework("IAudioOut"), audio_core(audio_core), audio_params(audio_params), : ServiceFramework("IAudioOut"), audio_core(audio_core),
device_name(std::move(device_name)) { device_name(std::move(device_name)), audio_params(audio_params) {
static const FunctionInfo functions[] = { static const FunctionInfo functions[] = {
{0, &IAudioOut::GetAudioOutState, "GetAudioOutState"}, {0, &IAudioOut::GetAudioOutState, "GetAudioOutState"},