MediaClient: Update docs and add TODOs

This commit is contained in:
Barrett17 2018-02-25 23:40:35 +01:00
parent 9cf18a39cd
commit e74e02ac05
2 changed files with 4 additions and 2 deletions

View File

@ -117,6 +117,7 @@ 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();
@ -124,8 +125,7 @@ public:
status_t SyncTo(bigtime_t performanceTime,
bigtime_t timeout = -1);
// Return the current performance time handled by the object when
// run_mode != B_OFFLINE. Otherwise returns the current offline time.
// Return the current performance time handled by the client.
bigtime_t CurrentTime() const;
// This is supplied to support using this class in a BMediaAddOn.

View File

@ -153,6 +153,8 @@ protected:
virtual status_t PrepareToConnect(media_format* format);
virtual status_t FormatProposal(media_format* format);
// TODO: Do we really want this?
virtual status_t FormatChangeRequested(media_format* format);
// When a connection is not binded with another, and you really don't want