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:
fischman@webrtc.org
2013-06-04 00:37:21 +00:00
parent 6eb0f6a4d9
commit 34a77354a8
5 changed files with 3 additions and 8 deletions

View File

@ -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),

View File

@ -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;

View File

@ -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__);

View File

@ -33,7 +33,6 @@ public:
private:
CriticalSectionWrapper& _critSect;
int32_t _id;
AudioDeviceModule::ErrorCode _lastError;
};
} // namespace webrtc

View File

@ -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;