mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-03 14:48:46 +00:00
loop music
This commit is contained in:
parent
e2a5a0a71e
commit
260a1278a4
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ void BackgroundMusicPlayer::playMusic(const QString& snd0path) {
|
||||||
|
|
||||||
m_currentMusic = newMusic;
|
m_currentMusic = newMusic;
|
||||||
m_mediaPlayer->setSource(newMusic);
|
m_mediaPlayer->setSource(newMusic);
|
||||||
|
m_mediaPlayer->setLoops(QMediaPlayer::Infinite);
|
||||||
m_mediaPlayer->play();
|
m_mediaPlayer->play();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue