MediaClient: Rename IsRunning to IsStarted
This commit is contained in:
parent
a6ac14c71c
commit
852b62956b
@ -107,9 +107,7 @@ public:
|
||||
BMediaOutput* FindOutput(
|
||||
const media_connection& output) const;
|
||||
|
||||
bool IsRunning() const;
|
||||
// Called when the node is correctly registered to the media services.
|
||||
//virtual void ReadyToRun() const;
|
||||
bool IsStarted() const;
|
||||
|
||||
// NOTE: The following functions aren't provided to be inherited,
|
||||
// always use the protected HandleSomething version. This is because
|
||||
|
@ -306,7 +306,7 @@ BMediaClient::FindOutput(const media_connection& output) const
|
||||
|
||||
|
||||
bool
|
||||
BMediaClient::IsRunning() const
|
||||
BMediaClient::IsStarted() const
|
||||
{
|
||||
CALLED();
|
||||
|
||||
@ -435,7 +435,7 @@ BMediaClient::_Deinit()
|
||||
{
|
||||
CALLED();
|
||||
|
||||
if (IsRunning())
|
||||
if (IsStarted())
|
||||
Stop();
|
||||
|
||||
Disconnect();
|
||||
|
@ -6,6 +6,8 @@
|
||||
#include <MediaClient.h>
|
||||
#include <MediaConnection.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "debug.h"
|
||||
|
||||
|
||||
|
@ -5,6 +5,8 @@
|
||||
|
||||
#include <MediaConnection.h>
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "MediaClientNode.h"
|
||||
|
||||
#include "debug.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user