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:
parent
cf2b3acc48
commit
f6acf98a46
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user