diff options
Diffstat (limited to 'ubuntu/lucid_automake/dependencies/arts/debian/patches/15_no_warning.diff')
-rw-r--r-- | ubuntu/lucid_automake/dependencies/arts/debian/patches/15_no_warning.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ubuntu/lucid_automake/dependencies/arts/debian/patches/15_no_warning.diff b/ubuntu/lucid_automake/dependencies/arts/debian/patches/15_no_warning.diff new file mode 100644 index 000000000..5341768c9 --- /dev/null +++ b/ubuntu/lucid_automake/dependencies/arts/debian/patches/15_no_warning.diff @@ -0,0 +1,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"); + } |