fixing a bug in GetPlayoutDeviceName, previously it returns name as guid.

Bug=http://code.google.com/p/webrtc/issues/detail?id=77
Test=none
Review URL: http://webrtc-codereview.appspot.com/135011

git-svn-id: http://webrtc.googlecode.com/svn/trunk@528 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
xians@google.com 2011-09-05 12:17:30 +00:00
parent ea72c34fb9
commit b875349537

View File

@ -329,7 +329,7 @@ int VoEHardwareImpl::GetPlayoutDeviceName(int index,
if (strGuidUTF8 != NULL)
{
strncpy(strGuidUTF8, name, strLen);
strncpy(strGuidUTF8, guid, strLen);
WEBRTC_TRACE(kTraceStateInfo, kTraceVoice, VoEId(_instanceId, -1),
" Output: strGuidUTF8=%s", strGuidUTF8);
}