Remove EventWrapper::Reset().
This simplifies the event wrapper which we've recently found issues in. Also refactoring EndToEndTest.RespectsNetworkState to not depend on it. BUG= R=stefan@webrtc.org, tommi@webrtc.org Review URL: https://webrtc-codereview.appspot.com/41939004 Cr-Commit-Position: refs/heads/master@{#8366} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8366 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -214,7 +214,6 @@ int32_t AudioTrackJni::Terminate() {
|
||||
// If we close thread anyway, the app will crash
|
||||
return -1;
|
||||
}
|
||||
_playStartStopEvent.Reset();
|
||||
_critSect.Enter();
|
||||
|
||||
// Close down play thread
|
||||
@ -521,7 +520,6 @@ int32_t AudioTrackJni::StartPlayout() {
|
||||
WEBRTC_TRACE(kTraceError, kTraceAudioDevice, _id,
|
||||
" Timeout or error starting");
|
||||
}
|
||||
_playStartStopEvent.Reset();
|
||||
_critSect.Enter();
|
||||
|
||||
// Detach this thread if it was attached
|
||||
@ -1284,7 +1282,6 @@ bool AudioTrackJni::PlayThreadProcess()
|
||||
case kEventSignaled:
|
||||
WEBRTC_TRACE(kTraceDebug, kTraceAudioDevice,
|
||||
_id, "Playout thread event signal");
|
||||
_timeEventPlay.Reset();
|
||||
break;
|
||||
case kEventError:
|
||||
WEBRTC_TRACE(kTraceWarning, kTraceAudioDevice,
|
||||
|
||||
Reference in New Issue
Block a user