MediaClient: Remove Preroll and SyncTo

This commit is contained in:
Barrett17 2018-03-01 17:08:19 +01:00
parent 6dc7d85423
commit f015d06b84
2 changed files with 0 additions and 27 deletions

View File

@ -119,14 +119,6 @@ public:
status_t Roll(bigtime_t start, bigtime_t stop,
bigtime_t seek);
// TODO: We really want to expose Preroll and SyncTo?
// Preroll the client to buffer startup latency
status_t Preroll();
// This function return when the client reach the specified performanceTime
status_t SyncTo(bigtime_t performanceTime,
bigtime_t timeout = -1);
// Return the current performance time handled by the client.
bigtime_t CurrentTime() const;

View File

@ -366,25 +366,6 @@ BMediaClient::Roll(bigtime_t start, bigtime_t stop, bigtime_t seek)
}
status_t
BMediaClient::Preroll()
{
CALLED();
return BMediaRoster::CurrentRoster()->PrerollNode(fNode->Node());
}
status_t
BMediaClient::SyncTo(bigtime_t performanceTime, bigtime_t timeout)
{
CALLED();
return BMediaRoster::CurrentRoster()->SyncToNode(fNode->Node(),
performanceTime, timeout);
}
bigtime_t
BMediaClient::CurrentTime() const
{