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

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);