Home
last modified time | relevance | path

Searched refs:audioThread (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioTrack.java69 private @Nullable AudioTrackThread audioThread; field in WebRtcAudioTrack
271 assertTrue(audioThread == null); in startPlayout()
294 audioThread = new AudioTrackThread("AudioTrackJavaThread"); in startPlayout()
295 audioThread.start(); in startPlayout()
302 assertTrue(audioThread != null); in stopPlayout()
304 audioThread.stopThread(); in stopPlayout()
307 audioThread.interrupt(); in stopPlayout()
308 if (!ThreadUtils.joinUninterruptibly(audioThread, AUDIO_TRACK_THREAD_JOIN_TIMEOUT_MS)) { in stopPlayout()
313 audioThread = null; in stopPlayout()
DWebRtcAudioRecord.java60 private @Nullable AudioRecordThread audioThread; field in WebRtcAudioRecord
292 assertTrue(audioThread == null); in startRecording()
307 audioThread = new AudioRecordThread("AudioRecordJavaThread"); in startRecording()
308 audioThread.start(); in startRecording()
314 assertTrue(audioThread != null); in stopRecording()
315 audioThread.stopThread(); in stopRecording()
316 if (!ThreadUtils.joinUninterruptibly(audioThread, AUDIO_RECORD_THREAD_JOIN_TIMEOUT_MS)) { in stopRecording()
320 audioThread = null; in stopRecording()
/external/webrtc/sdk/android/src/java/org/webrtc/audio/
DWebRtcAudioTrack.java67 private @Nullable AudioTrackThread audioThread; field in WebRtcAudioTrack
275 assertTrue(audioThread == null); in startPlayout()
296 audioThread = new AudioTrackThread("AudioTrackJavaThread"); in startPlayout()
297 audioThread.start(); in startPlayout()
308 assertTrue(audioThread != null); in stopPlayout()
310 audioThread.stopThread(); in stopPlayout()
313 audioThread.interrupt(); in stopPlayout()
314 if (!ThreadUtils.joinUninterruptibly(audioThread, AUDIO_TRACK_THREAD_JOIN_TIMEOUT_MS)) { in stopPlayout()
319 audioThread = null; in stopPlayout()
DWebRtcAudioRecord.java94 private @Nullable AudioRecordThread audioThread; field in WebRtcAudioRecord
378 assertTrue(audioThread == null); in startRecording()
392 audioThread = new AudioRecordThread("AudioRecordJavaThread"); in startRecording()
393 audioThread.start(); in startRecording()
401 assertTrue(audioThread != null); in stopRecording()
409 audioThread.stopThread(); in stopRecording()
410 if (!ThreadUtils.joinUninterruptibly(audioThread, AUDIO_RECORD_THREAD_JOIN_TIMEOUT_MS)) { in stopRecording()
414 audioThread = null; in stopRecording()