lib/libtuxtxt: remove not required if's with HAVE_SPARK_HARDWARE

It seems this may have come from incomplete cherry-picks,
also some codepage conflicts should be solved.
This commit is contained in:
2018-01-27 14:54:25 +01:00
parent 2610e38eae
commit e6edf50673
3 changed files with 15 additions and 204 deletions

View File

@@ -1,16 +1,11 @@
#ifndef __teletext_h__
#define __teletext_h__
#include <config.h>
int tuxtxt_init();
void tuxtxt_close();
void tuxtxt_start(int tpid, int source = 0); // Start caching
int tuxtxt_stop(); // Stop caching
#if HAVE_SPARK_HARDWARE
int tuxtx_main(int pid, int page = 0, int source = 0, bool _isEplayer = false);
#else
int tuxtx_main(int pid, int page = 0, int source = 0);
#endif
void tuxtx_stop_subtitle();
int tuxtx_subtitle_running(int *pid, int *page, int *running);
void tuxtx_pause_subtitle(bool pause = 1);