add changed files

Origin commit data
------------------
Branch: master
Commit: c37263f594
Author: smogm <smogm@vh0st.me>
Date: 2015-01-11 (Sun, 11 Jan 2015)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
smogm
2015-01-11 18:12:55 +01:00
parent 65ee259b43
commit 7f2f83b16e
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;