add changed files

This commit is contained in:
smogm
2015-01-11 18:12:55 +01:00
parent 626c785081
commit c37263f594
9 changed files with 21 additions and 18 deletions

View File

@@ -29,7 +29,6 @@
#define lt_debug(args...) _lt_debug(HAL_DEBUG_AUDIO, this, args)
#define lt_info(args...) _lt_info(HAL_DEBUG_AUDIO, this, args)
#include <OpenThreads/Thread>
extern "C" {
#include <libavformat/avformat.h>
@@ -104,7 +103,7 @@ int cAudio::Start(void)
{
lt_debug("%s >\n", __func__);
if (! HAL_nodec)
OpenThreads::Thread::start();
startThread();
lt_debug("%s <\n", __func__);
return 0;
}
@@ -115,7 +114,7 @@ int cAudio::Stop(void)
if (thread_started)
{
thread_started = false;
OpenThreads::Thread::join();
joinThread();
}
lt_debug("%s <\n", __func__);
return 0;