зеркало из https://github.com/mozilla/gecko-dev.git
Bug 942399 - Fix -Wunused-private-field warnings in media/webrtc/signaling. r=rjesup
This commit is contained in:
Родитель
623bdd0647
Коммит
1a33509be0
|
@ -151,12 +151,14 @@ public:
|
|||
mTransport(nullptr),
|
||||
mEngineTransmitting(false),
|
||||
mEngineReceiving(false),
|
||||
mLastTimestamp(0),
|
||||
mChannel(-1),
|
||||
mCurSendCodecConfig(nullptr),
|
||||
mCaptureDelay(150),
|
||||
mEchoOn(true),
|
||||
mEchoCancel(webrtc::kEcAec)
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
, mLastTimestamp(0)
|
||||
#endif // MOZILLA_INTERNAL_API
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -229,7 +231,6 @@ private:
|
|||
uint32_t mRTPTimeStamp; // RTP timestamps received
|
||||
};
|
||||
nsAutoTArray<Processing,8> mProcessing;
|
||||
uint32_t mLastTimestamp;
|
||||
|
||||
int mChannel;
|
||||
RecvCodecList mRecvCodecList;
|
||||
|
@ -240,6 +241,10 @@ private:
|
|||
|
||||
bool mEchoOn;
|
||||
webrtc::EcModes mEchoCancel;
|
||||
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
uint32_t mLastTimestamp;
|
||||
#endif // MOZILLA_INTERNAL_API
|
||||
};
|
||||
|
||||
} // end namespace
|
||||
|
|
|
@ -342,10 +342,14 @@ class MediaPipelineTransmit : public MediaPipeline {
|
|||
: conduit_(conduit),
|
||||
active_(false),
|
||||
direct_connect_(false),
|
||||
last_img_(-1),
|
||||
samples_10ms_buffer_(nullptr),
|
||||
buffer_current_(0),
|
||||
samplenum_10ms_(0) {}
|
||||
samplenum_10ms_(0)
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
, last_img_(-1)
|
||||
#endif // MOZILLA_INTERNAL_API
|
||||
{
|
||||
}
|
||||
|
||||
~PipelineListener()
|
||||
{
|
||||
|
@ -396,8 +400,6 @@ class MediaPipelineTransmit : public MediaPipeline {
|
|||
volatile bool active_;
|
||||
bool direct_connect_;
|
||||
|
||||
int32_t last_img_; // serial number of last Image
|
||||
|
||||
// These vars handle breaking audio samples into exact 10ms chunks:
|
||||
// The buffer of 10ms audio samples that we will send once full
|
||||
// (can be carried over from one call to another).
|
||||
|
@ -406,6 +408,10 @@ class MediaPipelineTransmit : public MediaPipeline {
|
|||
int64_t buffer_current_;
|
||||
// The number of samples in a 10ms audio chunk.
|
||||
int64_t samplenum_10ms_;
|
||||
|
||||
#ifdef MOZILLA_INTERNAL_API
|
||||
int32_t last_img_; // serial number of last Image
|
||||
#endif // MOZILLA_INTERNAL_API
|
||||
};
|
||||
|
||||
private:
|
||||
|
|
Загрузка…
Ссылка в новой задаче