Make thread name readable in log

Shorten thread name to make more readable when run top on android
Review URL: https://webrtc-codereview.appspot.com/851006

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2856 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
leozwang@webrtc.org 2012-10-01 17:58:32 +00:00
parent 4fdc102f03
commit 3632ca1c6e
2 changed files with 3 additions and 3 deletions

View File

@ -243,7 +243,7 @@ WebRtc_Word32 AudioDeviceAndroidJni::Init()
}
// RECORDING
const char* threadName = "webrtc_jni_audio_capture_thread";
const char* threadName = "jni_audio_capture_thread";
_ptrThreadRec = ThreadWrapper::CreateThread(RecThreadFunc, this,
kRealtimePriority, threadName);
if (_ptrThreadRec == NULL)
@ -265,7 +265,7 @@ WebRtc_Word32 AudioDeviceAndroidJni::Init()
_recThreadID = threadID;
// PLAYOUT
threadName = "webrtc_jni_audio_render_thread";
threadName = "jni_audio_render_thread";
_ptrThreadPlay = ThreadWrapper::CreateThread(PlayThreadFunc, this,
kRealtimePriority, threadName);
if (_ptrThreadPlay == NULL)

View File

@ -1076,7 +1076,7 @@ WebRtc_Word32 AudioDeviceAndroidOpenSLES::StartRecording() {
rec_available_queue_.push(rec_buffer_[i]);
}
const char* threadName = "webrtc_opensles_audio_capture_thread";
const char* threadName = "sles_audio_capture_thread";
_ptrThreadRec = ThreadWrapper::CreateThread(RecThreadFunc, this,
kRealtimePriority, threadName);
if (_ptrThreadRec == NULL)