[gnome-boxes/switch-sound-from-ac97-to-ich6: 122/122] 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: 122/122] vm-configurator: Use ICH6 as sound device fallback
- Date: Wed, 7 Mar 2018 14:39:57 +0000 (UTC)
commit 93ee38a40f23dd7f4544639b949ed0d1ec6d9229
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]