- tuxtxt: align to mp

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-11-03 23:05:59 +01:00
committed by Thilo Graf
parent 1b39396e87
commit e607bae240
4 changed files with 240 additions and 43 deletions

View File

@@ -1,11 +1,16 @@
#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 || HAVE_DUCKBOX_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);