mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 00:24:47 -07:00
parent
d55e44ea60
commit
a9f2cd73de
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ void SoundEngine::playSound(QString fileName)
|
||||||
inputBuffer->setData(audioData[fileName]);
|
inputBuffer->setData(audioData[fileName]);
|
||||||
inputBuffer->open(QIODevice::ReadOnly);
|
inputBuffer->open(QIODevice::ReadOnly);
|
||||||
#if QT_VERSION >= 0x050000
|
#if QT_VERSION >= 0x050000
|
||||||
player->setVolume(settingsCache->getMasterVolume());
|
player->setVolume(settingsCache->getMasterVolume() / 100.0);
|
||||||
#endif
|
#endif
|
||||||
player->stop();
|
player->stop();
|
||||||
player->start(inputBuffer);
|
player->start(inputBuffer);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue