return error when unable to set sound volume

This commit is contained in:
Dorian Zedler 2021-05-02 15:29:08 +02:00
parent 38199766ce
commit 43b809d5d6
Signed by: dorian
GPG key ID: 989DE36109AFA354

View file

@ -63,6 +63,7 @@ ScStwSoundPlayer::PlayResult ScStwSoundPlayer::play(ScStwSoundPlayer::StartSound
}
else {
qDebug() << "[WARNING][SoundPlayer] Could not determine output device to set volume";
return Error;
}
this->soundEffect->setVolume(1);