summaryrefslogtreecommitdiffstats
path: root/soundserver/artsd.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-05 21:11:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-05 21:11:05 +0000
commit6637c742279c9df570b3bd1d09244f1b0f66ee62 (patch)
tree522e3430dc3b085aad27f9eb6f144977b65a1dd3 /soundserver/artsd.cc
parent7de042bb5beca4107a444f8c60ef24c9735deb65 (diff)
downloadarts-6637c742279c9df570b3bd1d09244f1b0f66ee62.tar.gz
arts-6637c742279c9df570b3bd1d09244f1b0f66ee62.zip
Compilation repairs
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1212131 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'soundserver/artsd.cc')
-rw-r--r--soundserver/artsd.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/soundserver/artsd.cc b/soundserver/artsd.cc
index 6b6a22e..cbe5525 100644
--- a/soundserver/artsd.cc
+++ b/soundserver/artsd.cc
@@ -296,9 +296,10 @@ int main(int argc, char **argv)
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");
}