MediaClient: Some more consistency in args order

This commit is contained in:
Dario Casalinuovo
2017-04-28 02:13:51 +02:00
parent a2be272b55
commit a33c8f4c2a
2 changed files with 12 additions and 12 deletions
@@ -48,7 +48,7 @@ public:
virtual BSimpleMediaInput* BeginInput();
virtual BSimpleMediaOutput* BeginOutput();
void SetNotificationHook(notify_hook notifyHook = NULL,
void SetHook(notify_hook notifyHook = NULL,
void* cookie = NULL);
protected:
@@ -58,7 +58,7 @@ protected:
virtual void HandleSeek(bigtime_t mediaTime,
bigtime_t performanceTime);
virtual status_t HandleFormatSuggestion(media_type type,
virtual status_t FormatSuggestion(media_type type,
int32 quality, media_format* format);
private:
@@ -103,8 +103,8 @@ public:
// Used to notify or inquire the client about what to do when certain
// events happen.
typedef status_t (*notify_hook)(
notification what,
BMediaConnection* connection,
notification what,
...);
// Use this to set your callbacks.