MediaClient: Remove SetRunMode
This commit is contained in:
@@ -128,10 +128,6 @@ public:
|
|||||||
status_t SyncTo(bigtime_t performanceTime,
|
status_t SyncTo(bigtime_t performanceTime,
|
||||||
bigtime_t timeout = -1);
|
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
|
// Return the current performance time handled by the object when
|
||||||
// run_mode != B_OFFLINE. Otherwise returns the current offline time.
|
// run_mode != B_OFFLINE. Otherwise returns the current offline time.
|
||||||
bigtime_t CurrentTime() const;
|
bigtime_t CurrentTime() const;
|
||||||
|
|||||||
@@ -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
|
bigtime_t
|
||||||
BMediaClient::CurrentTime() const
|
BMediaClient::CurrentTime() const
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user