summaryrefslogtreecommitdiffstats
path: root/ubuntu/lucid_automake/dependencies/arts/debian/patches/15_no_warning.diff
blob: 5341768c94c43a79fab2fad76cd199b42acb5ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/soundserver/artsd.cc
+++ b/soundserver/artsd.cc
@@ -296,9 +296,10 @@
 
 	if(cfgForceStart && !AudioSubSystem::the()->check())
 	{
-		warnNullDevice  = "Error while initializing the sound driver:\n";
-		warnNullDevice += AudioSubSystem::the()->error();
-		warnNullDevice += "\n\nThe sound server will continue, using the null output device.";
+		//Don't show an error (this looks bad and may confuse users without sound cards), kmix makes it obvious if sound isn't working
+		//warnNullDevice  = "Error while initializing the sound driver:\n";
+		//warnNullDevice += AudioSubSystem::the()->error();
+		//warnNullDevice += "\n\nThe sound server will continue, using the null output device.";
 		
 		AudioSubSystem::the()->audioIO("null");
 	}