generic-pc: silence decoder threads output

This commit is contained in:
Stefan Seyfried
2013-06-01 15:39:19 +02:00
parent 2efe616a23
commit 619751eaf0
2 changed files with 8 additions and 9 deletions

View File

@@ -102,22 +102,22 @@ int cAudio::setVolume(unsigned int left, unsigned int right)
int cAudio::Start(void)
{
lt_info("%s >\n", __func__);
lt_debug("%s >\n", __func__);
if (! HAL_nodec)
OpenThreads::Thread::start();
lt_info("%s <\n", __func__);
lt_debug("%s <\n", __func__);
return 0;
}
int cAudio::Stop(void)
{
lt_info("%s >\n", __func__);
lt_debug("%s >\n", __func__);
if (thread_started)
{
thread_started = false;
OpenThreads::Thread::join();
}
lt_info("%s <\n", __func__);
lt_debug("%s <\n", __func__);
return 0;
}