MediaClient: Remove SetRunMode

This commit is contained in:
Barrett17 2018-02-24 02:30:40 +01:00
parent e8bf0f3e72
commit 72958d8ba8
2 changed files with 0 additions and 22 deletions

View File

@ -128,10 +128,6 @@ public:
status_t SyncTo(bigtime_t performanceTime,
bigtime_t timeout = -1);
// It will be B_INCREASE_LATENCY by default
BMediaNode::run_mode RunMode() const;
status_t SetRunMode(BMediaNode::run_mode mode);
// Return the current performance time handled by the object when
// run_mode != B_OFFLINE. Otherwise returns the current offline time.
bigtime_t CurrentTime() const;

View File

@ -385,24 +385,6 @@ BMediaClient::SyncTo(bigtime_t performanceTime, bigtime_t timeout)
}
BMediaNode::run_mode
BMediaClient::RunMode() const
{
CALLED();
return fNode->RunMode();
}
status_t
BMediaClient::SetRunMode(BMediaNode::run_mode mode)
{
CALLED();
return BMediaRoster::CurrentRoster()->SetRunModeNode(fNode->Node(), mode);
}
bigtime_t
BMediaClient::CurrentTime() const
{