You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tde-packaging/ubuntu/lucid_automake/dependencies/arts/debian/patches/15_no_warning.diff

17 lines
747 B

--- 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");
}