QTfrontend/pages.cpp
changeset 2392 a55dbef5cf31
parent 2377 f3fab2b09e0c
child 2395 d01d3bf3e1de
--- a/QTfrontend/pages.cpp	Tue Sep 22 21:00:39 2009 +0000
+++ b/QTfrontend/pages.cpp	Tue Sep 22 21:58:08 2009 +0000
@@ -425,6 +425,11 @@
 		CBFrontendFullscreen->setText(QCheckBox::tr("Frontend fullscreen"));
 		GBAlayout->addWidget(CBFrontendFullscreen);
 
+		CBHardwareSound = new QCheckBox(AGGroupBox);
+		CBHardwareSound->setText(QCheckBox::tr("Use hardware sound (if available; requires restart)"));
+		//CBHardwareSound->setEnabled(openal_ready());
+		GBAlayout->addWidget(CBHardwareSound);
+
 		CBEnableSound = new QCheckBox(AGGroupBox);
 		CBEnableSound->setText(QCheckBox::tr("Enable sound"));
 		//CBEnableSound->setEnabled(openal_ready());
@@ -443,7 +448,7 @@
 		volumeBox = new QSpinBox(AGGroupBox);
 		volumeBox->setRange(0, 100);
 		volumeBox->setSingleStep(5);
-		volumeBox->setEnabled(openal_ready());
+		//volumeBox->setEnabled(openal_ready());
 		GBAvollayout->addWidget(volumeBox);
 
 		CBShowFPS = new QCheckBox(AGGroupBox);