MediaClient: Remove Preroll and SyncTo
This commit is contained in:
parent
6dc7d85423
commit
f015d06b84
@ -119,14 +119,6 @@ public:
|
|||||||
status_t Roll(bigtime_t start, bigtime_t stop,
|
status_t Roll(bigtime_t start, bigtime_t stop,
|
||||||
bigtime_t seek);
|
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.
|
// Return the current performance time handled by the client.
|
||||||
bigtime_t CurrentTime() const;
|
bigtime_t CurrentTime() const;
|
||||||
|
|
||||||
|
@ -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
|
bigtime_t
|
||||||
BMediaClient::CurrentTime() const
|
BMediaClient::CurrentTime() const
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user