mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-31 09:21:20 +02:00
libstb-hal/libspark/playback: add method for retrieving read-count
This commit is contained in:
@@ -724,6 +724,13 @@ bool cPlayback::isPlaying() {
|
||||
return player->playback->isPlaying;
|
||||
return false;
|
||||
}
|
||||
|
||||
unsigned long long cPlayback::GetReadCount() {
|
||||
if (player && player->playback) {
|
||||
return player->playback->readCount;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#if 0
|
||||
bool cPlayback::IsPlaying(void) const
|
||||
{
|
||||
|
@@ -49,6 +49,7 @@ class cPlayback
|
||||
void FindAllTeletextsubtitlePids(int *pids, unsigned int *numpidt, std::string *tlanguage);
|
||||
void RequestAbort(void);
|
||||
bool isPlaying(void);
|
||||
unsigned long long GetReadCount(void);
|
||||
#if 0
|
||||
void FindAllSubs(uint16_t *pids, unsigned short *supported, uint16_t *numpida, std::string *language);
|
||||
bool SelectSubtitles(int pid);
|
||||
|
Reference in New Issue
Block a user