You've already forked emulationstation-next
mirror of
https://github.com/archr-linux/emulationstation-next.git
synced 2026-07-13 03:19:12 -07:00
check sound when changing sound card
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
|
||||
#include <fstream>
|
||||
#include <SDL.h>
|
||||
#include <Sound.h>
|
||||
|
||||
#if defined(WIN32)
|
||||
#define popen _popen
|
||||
@@ -857,7 +858,7 @@ bool ApiSystem::setAudioOutputDevice(std::string selected) {
|
||||
|
||||
VolumeControl::getInstance()->init();
|
||||
AudioManager::getInstance()->init();
|
||||
//AudioManager::getInstance()->playCheckSound();
|
||||
Sound::get("/usr/share/emulationstation/resources/checksound.ogg")->play();
|
||||
|
||||
return exitcode == 0;
|
||||
}
|
||||
|
||||
@@ -27,8 +27,6 @@
|
||||
#include "LocaleES.h"
|
||||
#include <SystemConf.h>
|
||||
#include "ApiSystem.h"
|
||||
#include "AudioManager.h"
|
||||
#include "VolumeControl.h"
|
||||
#include "NetworkThread.h"
|
||||
|
||||
#include <FreeImage.h>
|
||||
|
||||
Executable
BIN
Binary file not shown.
Reference in New Issue
Block a user