mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +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
|
||||
{
|
||||
|
Reference in New Issue
Block a user