MediaClient: Update docs and add TODOs
This commit is contained in:
@@ -117,6 +117,7 @@ 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
|
// Preroll the client to buffer startup latency
|
||||||
status_t Preroll();
|
status_t Preroll();
|
||||||
|
|
||||||
@@ -124,8 +125,7 @@ public:
|
|||||||
status_t SyncTo(bigtime_t performanceTime,
|
status_t SyncTo(bigtime_t performanceTime,
|
||||||
bigtime_t timeout = -1);
|
bigtime_t timeout = -1);
|
||||||
|
|
||||||
// Return the current performance time handled by the object when
|
// Return the current performance time handled by the client.
|
||||||
// run_mode != B_OFFLINE. Otherwise returns the current offline time.
|
|
||||||
bigtime_t CurrentTime() const;
|
bigtime_t CurrentTime() const;
|
||||||
|
|
||||||
// This is supplied to support using this class in a BMediaAddOn.
|
// This is supplied to support using this class in a BMediaAddOn.
|
||||||
|
|||||||
@@ -153,6 +153,8 @@ protected:
|
|||||||
virtual status_t PrepareToConnect(media_format* format);
|
virtual status_t PrepareToConnect(media_format* format);
|
||||||
|
|
||||||
virtual status_t FormatProposal(media_format* format);
|
virtual status_t FormatProposal(media_format* format);
|
||||||
|
|
||||||
|
// TODO: Do we really want this?
|
||||||
virtual status_t FormatChangeRequested(media_format* format);
|
virtual status_t FormatChangeRequested(media_format* format);
|
||||||
|
|
||||||
// When a connection is not binded with another, and you really don't want
|
// When a connection is not binded with another, and you really don't want
|
||||||
|
|||||||
Reference in New Issue
Block a user