Fix clang warnings in voice engine.
Review URL: http://webrtc-codereview.appspot.com/133008 git-svn-id: http://webrtc.googlecode.com/svn/trunk@512 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
bbd8908664
commit
a80d026517
@ -409,30 +409,12 @@ public:
|
||||
|
||||
public:
|
||||
// From RtcpFeedback in the RTP/RTCP module
|
||||
void OnLipSyncUpdate(const WebRtc_Word32 id,
|
||||
const WebRtc_Word32 audioVideoOffset) {};
|
||||
|
||||
void OnApplicationDataReceived(const WebRtc_Word32 id,
|
||||
const WebRtc_UWord8 subType,
|
||||
const WebRtc_UWord32 name,
|
||||
const WebRtc_UWord16 length,
|
||||
const WebRtc_UWord8* data);
|
||||
|
||||
void OnRTCPPacketTimeout(const WebRtc_Word32 id) {} ;
|
||||
|
||||
void OnTMMBRReceived(const WebRtc_Word32 id,
|
||||
const WebRtc_UWord16 bwEstimateKbit) {};
|
||||
|
||||
void OnSendReportReceived(const WebRtc_Word32 id,
|
||||
const WebRtc_UWord32 senderSSRC,
|
||||
const WebRtc_UWord8* packet,
|
||||
const WebRtc_UWord16 packetLength) {};
|
||||
|
||||
void OnReceiveReportReceived(const WebRtc_Word32 id,
|
||||
const WebRtc_UWord32 senderSSRC,
|
||||
const WebRtc_UWord8* packet,
|
||||
const WebRtc_UWord16 packetLength) {};
|
||||
|
||||
public:
|
||||
// From RtpAudioFeedback in the RTP/RTCP module
|
||||
void OnReceivedTelephoneEvent(const WebRtc_Word32 id,
|
||||
|
@ -130,9 +130,9 @@ public:
|
||||
{
|
||||
counter = 0;
|
||||
}
|
||||
virtual void OnReceivedTelephoneEventInband(const int channel,
|
||||
const unsigned char eventCode,
|
||||
const bool endOfEvent)
|
||||
virtual void OnReceivedTelephoneEventInband(int channel,
|
||||
int eventCode,
|
||||
bool endOfEvent)
|
||||
{
|
||||
char msg[128];
|
||||
if (endOfEvent)
|
||||
@ -146,9 +146,9 @@ public:
|
||||
}
|
||||
|
||||
virtual void OnReceivedTelephoneEventOutOfBand(
|
||||
const int channel,
|
||||
const unsigned char eventCode,
|
||||
const bool endOfEvent)
|
||||
int channel,
|
||||
int eventCode,
|
||||
bool endOfEvent)
|
||||
{
|
||||
char msg[128];
|
||||
if (endOfEvent)
|
||||
|
@ -11,16 +11,14 @@
|
||||
#ifndef WEBRTC_VOICE_ENGINE_VOE_STRESS_TEST_H
|
||||
#define WEBRTC_VOICE_ENGINE_VOE_STRESS_TEST_H
|
||||
|
||||
namespace webrtc
|
||||
{
|
||||
namespace webrtc {
|
||||
class ThreadWrapper;
|
||||
}
|
||||
|
||||
namespace voetest {
|
||||
// TODO(andrew): using directives are not permitted.
|
||||
using namespace webrtc;
|
||||
|
||||
namespace voetest
|
||||
{
|
||||
|
||||
class VoETestManager;
|
||||
|
||||
class VoEStressTest
|
||||
|
@ -17,17 +17,16 @@
|
||||
|
||||
#include "common_types.h"
|
||||
|
||||
namespace webrtc
|
||||
{
|
||||
namespace webrtc {
|
||||
class CriticalSectionWrapper;
|
||||
class EventWrapper;
|
||||
class ThreadWrapper;
|
||||
class VoENetwork;
|
||||
}
|
||||
|
||||
using namespace webrtc;
|
||||
|
||||
namespace voetest {
|
||||
// TODO(andrew): using directives are not permitted.
|
||||
using namespace webrtc;
|
||||
|
||||
// TestType enumerator
|
||||
enum TestType
|
||||
|
Loading…
x
Reference in New Issue
Block a user