From 537a50bf630ad30209f027c6490da5ac65197dc9 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 28 Feb 2012 09:17:37 +0100 Subject: [PATCH] xbmc: add patch to disable gui sounds before starting player Signed-off-by: Stephan Raue --- ...le_gui_sounds_before_starting_player.patch | 34 +++++++++++++++++++ ...le_gui_sounds_before_starting_player.patch | 34 +++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-2a2a780-990-disable_gui_sounds_before_starting_player.patch create mode 100644 packages/mediacenter/xbmc/patches/xbmc-30312f1-990-disable_gui_sounds_before_starting_player.patch diff --git a/packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-2a2a780-990-disable_gui_sounds_before_starting_player.patch b/packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-2a2a780-990-disable_gui_sounds_before_starting_player.patch new file mode 100644 index 0000000000..01799aa1a1 --- /dev/null +++ b/packages/mediacenter/xbmc-pvr/patches/xbmc-pvr-2a2a780-990-disable_gui_sounds_before_starting_player.patch @@ -0,0 +1,34 @@ +From ff7b191ae381bd16a3b86fd2820d43a45a08fe4b Mon Sep 17 00:00:00 2001 +From: xbmc +Date: Mon, 27 Feb 2012 18:27:47 +0100 +Subject: [PATCH] linux: disable gui sounds before starting player + +--- + xbmc/Application.cpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp +index 9b362af..8a0fe87 100644 +--- a/xbmc/Application.cpp ++++ b/xbmc/Application.cpp +@@ -3868,7 +3868,7 @@ bool CApplication::PlayFile(const CFileItem& item, bool bRestart) + + // Workaround for bug/quirk in SDL_Mixer on OSX. + // TODO: Remove after GUI Sounds redux +-#if defined(__APPLE__) ++#if defined(__APPLE__) || defined(_LINUX) + g_audioManager.Enable(false); + #endif + +@@ -3932,7 +3932,7 @@ bool CApplication::PlayFile(const CFileItem& item, bool bRestart) + } + #endif + +-#if !defined(__APPLE__) ++#if !defined(__APPLE__) && !defined(_LINUX) + g_audioManager.Enable(false); + #endif + } +-- +1.7.5.4 + diff --git a/packages/mediacenter/xbmc/patches/xbmc-30312f1-990-disable_gui_sounds_before_starting_player.patch b/packages/mediacenter/xbmc/patches/xbmc-30312f1-990-disable_gui_sounds_before_starting_player.patch new file mode 100644 index 0000000000..01799aa1a1 --- /dev/null +++ b/packages/mediacenter/xbmc/patches/xbmc-30312f1-990-disable_gui_sounds_before_starting_player.patch @@ -0,0 +1,34 @@ +From ff7b191ae381bd16a3b86fd2820d43a45a08fe4b Mon Sep 17 00:00:00 2001 +From: xbmc +Date: Mon, 27 Feb 2012 18:27:47 +0100 +Subject: [PATCH] linux: disable gui sounds before starting player + +--- + xbmc/Application.cpp | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp +index 9b362af..8a0fe87 100644 +--- a/xbmc/Application.cpp ++++ b/xbmc/Application.cpp +@@ -3868,7 +3868,7 @@ bool CApplication::PlayFile(const CFileItem& item, bool bRestart) + + // Workaround for bug/quirk in SDL_Mixer on OSX. + // TODO: Remove after GUI Sounds redux +-#if defined(__APPLE__) ++#if defined(__APPLE__) || defined(_LINUX) + g_audioManager.Enable(false); + #endif + +@@ -3932,7 +3932,7 @@ bool CApplication::PlayFile(const CFileItem& item, bool bRestart) + } + #endif + +-#if !defined(__APPLE__) ++#if !defined(__APPLE__) && !defined(_LINUX) + g_audioManager.Enable(false); + #endif + } +-- +1.7.5.4 +