From 5e5f81a700017f9ef042afec38187ef490ef7e90 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 9 Mar 2017 20:29:33 +0300 Subject: Enable sound by default after auto detection tests. Sound test ignored. --- src/graphicsmanager.cpp | 1 + src/test/testmain.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp index 1a1876bf0..f9a9b4b71 100644 --- a/src/graphicsmanager.cpp +++ b/src/graphicsmanager.cpp @@ -1516,6 +1516,7 @@ void GraphicsManager::detectVideoSettings() config.setValue("textureSize", conf.getValue("textureSize", "1024,1024,1024,1024,1024,1024")); config.setValue("testInfo", conf.getValue("testInfo", "")); + config.setValue("sound", conf.getValue("sound", 0)); delete test; } } diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp index c2fcc75f9..fad34dbb0 100644 --- a/src/test/testmain.cpp +++ b/src/test/testmain.cpp @@ -101,7 +101,7 @@ int TestMain::exec(const bool testAudio) if (testAudio) soundTest = invokeTest4(); else - soundTest = 1; + soundTest = 0; info.append(strprintf("%d.%d,%d,%d,%d.", soundTest, softwareTest, normalOpenGLTest, safeOpenGLTest, modernOpenGLTest)); -- cgit v1.2.3-60-g2f50