[gnome-boxes/switch-sound-from-ac97-to-ich6: 18/18] vm-configurator: Use ICH6 as sound device fallback
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/switch-sound-from-ac97-to-ich6: 18/18] vm-configurator: Use ICH6 as sound device fallback
- Date: Thu, 5 Apr 2018 11:48:04 +0000 (UTC)
commit 5507e6f8c4d839c1037187e71664bbff38aac194
Author: Felipe Borges <felipeborges gnome org>
Date: Fri Jan 12 12:48:40 2018 +0100
vm-configurator: Use ICH6 as sound device fallback
AC97 drivers are not available for win-8 nor win-10.
We can fallback to ICH6, covering more unknown/undetected operating
systems.
Resolves #78
src/vm-configurator.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/vm-configurator.vala b/src/vm-configurator.vala
index 38207a87..76994b65 100644
--- a/src/vm-configurator.vala
+++ b/src/vm-configurator.vala
@@ -359,7 +359,7 @@ private static void set_sound_config (Domain domain, InstallerMedia install_medi
var sound = new DomainSound ();
var device = find_device_by_prop (install_media.supported_devices, DEVICE_PROP_CLASS, "audio");
var model = (device != null)? get_enum_value (device.get_name (), typeof (DomainSoundModel)) :
- DomainSoundModel.AC97;
+ DomainSoundModel.ICH6;
return_if_fail (model != -1);
sound.set_model ((DomainSoundModel) model);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]