The audio stream is now cleared when stopping the video screensaver.

This commit is contained in:
Leon Styhre 2021-05-11 17:30:37 +02:00
parent f781abe93e
commit 873e686fd2

View file

@ -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() {