mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-31 17:30:58 +02:00
generic-pc: allow to disable softdecoder for debugging
Origin commit data
------------------
Branch: master
Commit: 5f0fb850d6
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-05-10 (Fri, 10 May 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -45,12 +45,15 @@ extern cDemux *audioDemux;
|
||||
static uint8_t *dmxbuf = NULL;
|
||||
static int bufpos;
|
||||
|
||||
extern bool HAL_nodec;
|
||||
|
||||
static cAudio *gThiz = NULL;
|
||||
|
||||
cAudio::cAudio(void *, void *, void *)
|
||||
{
|
||||
thread_started = false;
|
||||
dmxbuf = (uint8_t *)malloc(DMX_BUF_SZ);
|
||||
if (!HAL_nodec)
|
||||
dmxbuf = (uint8_t *)malloc(DMX_BUF_SZ);
|
||||
bufpos = 0;
|
||||
curr_pts = 0;
|
||||
gThiz = this;
|
||||
@@ -89,7 +92,8 @@ int cAudio::setVolume(unsigned int left, unsigned int right)
|
||||
int cAudio::Start(void)
|
||||
{
|
||||
lt_info("%s >\n", __func__);
|
||||
OpenThreads::Thread::start();
|
||||
if (! HAL_nodec)
|
||||
OpenThreads::Thread::start();
|
||||
lt_info("%s <\n", __func__);
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user