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:
andrew@webrtc.org 2011-09-01 17:30:09 +00:00
parent bbd8908664
commit a80d026517
4 changed files with 12 additions and 33 deletions

View File

@ -409,30 +409,12 @@ public:
public: public:
// From RtcpFeedback in the RTP/RTCP module // From RtcpFeedback in the RTP/RTCP module
void OnLipSyncUpdate(const WebRtc_Word32 id,
const WebRtc_Word32 audioVideoOffset) {};
void OnApplicationDataReceived(const WebRtc_Word32 id, void OnApplicationDataReceived(const WebRtc_Word32 id,
const WebRtc_UWord8 subType, const WebRtc_UWord8 subType,
const WebRtc_UWord32 name, const WebRtc_UWord32 name,
const WebRtc_UWord16 length, const WebRtc_UWord16 length,
const WebRtc_UWord8* data); 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: public:
// From RtpAudioFeedback in the RTP/RTCP module // From RtpAudioFeedback in the RTP/RTCP module
void OnReceivedTelephoneEvent(const WebRtc_Word32 id, void OnReceivedTelephoneEvent(const WebRtc_Word32 id,

View File

@ -130,9 +130,9 @@ public:
{ {
counter = 0; counter = 0;
} }
virtual void OnReceivedTelephoneEventInband(const int channel, virtual void OnReceivedTelephoneEventInband(int channel,
const unsigned char eventCode, int eventCode,
const bool endOfEvent) bool endOfEvent)
{ {
char msg[128]; char msg[128];
if (endOfEvent) if (endOfEvent)
@ -146,9 +146,9 @@ public:
} }
virtual void OnReceivedTelephoneEventOutOfBand( virtual void OnReceivedTelephoneEventOutOfBand(
const int channel, int channel,
const unsigned char eventCode, int eventCode,
const bool endOfEvent) bool endOfEvent)
{ {
char msg[128]; char msg[128];
if (endOfEvent) if (endOfEvent)

View File

@ -11,16 +11,14 @@
#ifndef WEBRTC_VOICE_ENGINE_VOE_STRESS_TEST_H #ifndef WEBRTC_VOICE_ENGINE_VOE_STRESS_TEST_H
#define WEBRTC_VOICE_ENGINE_VOE_STRESS_TEST_H #define WEBRTC_VOICE_ENGINE_VOE_STRESS_TEST_H
namespace webrtc namespace webrtc {
{
class ThreadWrapper; class ThreadWrapper;
} }
namespace voetest {
// TODO(andrew): using directives are not permitted.
using namespace webrtc; using namespace webrtc;
namespace voetest
{
class VoETestManager; class VoETestManager;
class VoEStressTest class VoEStressTest

View File

@ -17,17 +17,16 @@
#include "common_types.h" #include "common_types.h"
namespace webrtc namespace webrtc {
{
class CriticalSectionWrapper; class CriticalSectionWrapper;
class EventWrapper; class EventWrapper;
class ThreadWrapper; class ThreadWrapper;
class VoENetwork; class VoENetwork;
} }
using namespace webrtc;
namespace voetest { namespace voetest {
// TODO(andrew): using directives are not permitted.
using namespace webrtc;
// TestType enumerator // TestType enumerator
enum TestType enum TestType