summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-09 20:29:33 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-09 22:40:55 +0300
commit5e5f81a700017f9ef042afec38187ef490ef7e90 (patch)
treeef43204737b62cc8349834ee30cf946896dc7dd7
parent6a7003cec451a20e22d74ebeb48a0e50d1f73309 (diff)
downloadplus-5e5f81a700017f9ef042afec38187ef490ef7e90.tar.gz
plus-5e5f81a700017f9ef042afec38187ef490ef7e90.tar.bz2
plus-5e5f81a700017f9ef042afec38187ef490ef7e90.tar.xz
plus-5e5f81a700017f9ef042afec38187ef490ef7e90.zip
Enable sound by default after auto detection tests.
Sound test ignored.
-rw-r--r--src/graphicsmanager.cpp1
-rw-r--r--src/test/testmain.cpp2
2 files changed, 2 insertions, 1 deletions
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));