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