Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
packages/libretro/retroarch/patches/retroarch-01-backport-audio-fix.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
From d2cdc97e8f4737e7c9a509e172af69e6e7f03931 Mon Sep 17 00:00:00 2001 | ||
From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= <jean.andre.santoni@gmail.com> | ||
Date: Sun, 16 Jul 2017 20:48:57 +0200 | ||
Subject: [PATCH] Don't reinit the audio driver when audio device is switched | ||
for now. It can break the setting UI. | ||
|
||
--- | ||
menu/menu_setting.c | 1 - | ||
1 file changed, 1 deletion(-) | ||
|
||
diff --git a/menu/menu_setting.c b/menu/menu_setting.c | ||
index cff3ea5c4f..d7a0116014 100644 | ||
--- a/menu/menu_setting.c | ||
+++ b/menu/menu_setting.c | ||
@@ -1731,7 +1731,6 @@ void general_write_handler(void *data) | ||
audio_set_float(AUDIO_ACTION_MIXER_VOLUME_GAIN, *setting->value.target.fraction); | ||
break; | ||
case MENU_ENUM_LABEL_AUDIO_LATENCY: | ||
- case MENU_ENUM_LABEL_AUDIO_DEVICE: | ||
case MENU_ENUM_LABEL_AUDIO_OUTPUT_RATE: | ||
case MENU_ENUM_LABEL_AUDIO_WASAPI_EXCLUSIVE_MODE: | ||
case MENU_ENUM_LABEL_AUDIO_WASAPI_FLOAT_FORMAT: |