Fix coding style nits.
uint32_t parameters don't need to be passed by reference. The VCMJitterBuffer destructor doesn't need to be virtual because the class has no virtual methods. R=stefan@webrtc.org BUG=none Review URL: https://webrtc-codereview.appspot.com/55499004 Cr-Commit-Position: refs/heads/master@{#9288}
This commit is contained in:
parent
e87d48719f
commit
6a1ba8c17f
@ -54,8 +54,8 @@ struct VCMJitterSample {
|
|||||||
|
|
||||||
class TimestampLessThan {
|
class TimestampLessThan {
|
||||||
public:
|
public:
|
||||||
bool operator() (const uint32_t& timestamp1,
|
bool operator() (uint32_t timestamp1,
|
||||||
const uint32_t& timestamp2) const {
|
uint32_t timestamp2) const {
|
||||||
return IsNewerTimestamp(timestamp2, timestamp1);
|
return IsNewerTimestamp(timestamp2, timestamp1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -78,7 +78,7 @@ class VCMJitterBuffer {
|
|||||||
public:
|
public:
|
||||||
VCMJitterBuffer(Clock* clock,
|
VCMJitterBuffer(Clock* clock,
|
||||||
EventFactory* event_factory);
|
EventFactory* event_factory);
|
||||||
virtual ~VCMJitterBuffer();
|
~VCMJitterBuffer();
|
||||||
|
|
||||||
// Initializes and starts jitter buffer.
|
// Initializes and starts jitter buffer.
|
||||||
void Start();
|
void Start();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user