Removed unused class members to enable clang=1 android build.
BUG=https://code.google.com/p/webrtc/issues/detail?id=1275 TESTED=video_demo_apk builds with clang=1 R=niklas.enbom@webrtc.org, wu@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1605004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@4160 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -135,8 +135,8 @@ AudioDeviceAndroidJni::AudioDeviceAndroidJni(const int32_t id) :
|
||||
_playoutDeviceIsSpecified(false), _initialized(false),
|
||||
_recording(false), _playing(false), _recIsInitialized(false),
|
||||
_playIsInitialized(false), _micIsInitialized(false),
|
||||
_speakerIsInitialized(false), _startRec(false), _stopRec(false),
|
||||
_startPlay(false), _stopPlay(false), _playWarning(0),
|
||||
_speakerIsInitialized(false), _startRec(false),
|
||||
_startPlay(false), _playWarning(0),
|
||||
_playError(0), _recWarning(0), _recError(0), _delayPlayout(0),
|
||||
_delayRecording(0),
|
||||
_AGC(false),
|
||||
|
@ -214,9 +214,7 @@ class AudioDeviceAndroidJni : public AudioDeviceGeneric {
|
||||
|
||||
// Signal flags to threads
|
||||
bool _startRec;
|
||||
bool _stopRec;
|
||||
bool _startPlay;
|
||||
bool _stopPlay;
|
||||
|
||||
// Warnings and errors
|
||||
uint16_t _playWarning;
|
||||
|
@ -21,8 +21,7 @@ namespace webrtc
|
||||
{
|
||||
|
||||
AudioDeviceUtilityAndroid::AudioDeviceUtilityAndroid(const int32_t id) :
|
||||
_critSect(*CriticalSectionWrapper::CreateCriticalSection()), _id(id),
|
||||
_lastError(AudioDeviceModule::kAdmErrNone)
|
||||
_critSect(*CriticalSectionWrapper::CreateCriticalSection()), _id(id)
|
||||
{
|
||||
WEBRTC_TRACE(kTraceMemory, kTraceAudioDevice, id,
|
||||
"%s created", __FUNCTION__);
|
||||
|
@ -33,7 +33,6 @@ public:
|
||||
private:
|
||||
CriticalSectionWrapper& _critSect;
|
||||
int32_t _id;
|
||||
AudioDeviceModule::ErrorCode _lastError;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
|
@ -41,7 +41,6 @@ class VideoRenderOpenGles20 {
|
||||
int32_t _id;
|
||||
GLuint _textureIds[3]; // Texture id of Y,U and V texture.
|
||||
GLuint _program;
|
||||
GLuint _vPositionHandle;
|
||||
GLsizei _textureWidth;
|
||||
GLsizei _textureHeight;
|
||||
|
||||
|
Reference in New Issue
Block a user