Fix the android clang bot for compiling with thread annotations.

TBR=niklas.enbom@webrtc.org
R=niklas.enbom@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/6279005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@5330 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
andresp@webrtc.org 2013-12-20 21:54:26 +00:00
parent cf2b3acc48
commit f6acf98a46
2 changed files with 8 additions and 10 deletions

View File

@ -110,13 +110,12 @@ class AudioRecordJni {
int32_t SetRecordingSampleRate(const uint32_t samplesPerSec);
private:
// Lock
void Lock() {
void Lock() EXCLUSIVE_LOCK_FUNCTION(_critSect) {
_critSect.Enter();
};
void UnLock() {
}
void UnLock() UNLOCK_FUNCTION(_critSect) {
_critSect.Leave();
};
}
int32_t InitJavaResources();
int32_t InitSampleRate();

View File

@ -111,13 +111,12 @@ class AudioTrackJni : public PlayoutDelayProvider {
virtual int PlayoutDelayMs() { return 0; }
private:
// Lock
void Lock() {
void Lock() EXCLUSIVE_LOCK_FUNCTION(_critSect) {
_critSect.Enter();
};
void UnLock() {
}
void UnLock() UNLOCK_FUNCTION(_critSect) {
_critSect.Leave();
};
}
int32_t InitJavaResources();
int32_t InitSampleRate();