mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 14:15:38 +00:00
The audio stream is now cleared when stopping the video screensaver.
This commit is contained in:
parent
f781abe93e
commit
873e686fd2
|
@ -19,6 +19,7 @@
|
||||||
#include "utils/StringUtil.h"
|
#include "utils/StringUtil.h"
|
||||||
#include "views/gamelist/IGameListView.h"
|
#include "views/gamelist/IGameListView.h"
|
||||||
#include "views/ViewController.h"
|
#include "views/ViewController.h"
|
||||||
|
#include "AudioManager.h"
|
||||||
#include "FileData.h"
|
#include "FileData.h"
|
||||||
#include "Log.h"
|
#include "Log.h"
|
||||||
#include "SystemData.h"
|
#include "SystemData.h"
|
||||||
|
@ -234,6 +235,8 @@ void SystemScreensaver::stopScreensaver()
|
||||||
|
|
||||||
if (mGameOverlay)
|
if (mGameOverlay)
|
||||||
mGameOverlay.reset();
|
mGameOverlay.reset();
|
||||||
|
|
||||||
|
AudioManager::getInstance()->clearStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
void SystemScreensaver::nextGame() {
|
void SystemScreensaver::nextGame() {
|
||||||
|
|
Loading…
Reference in a new issue