[sipxtapi] r1432 committed - Applied patch from Saab:...

2 views
Skip to first unread message

codesite...@google.com

unread,
Feb 7, 2011, 6:04:19 PM2/7/11
to sipxtapi...@googlegroups.com
Revision: 1432
Author: jaroslavl1
Date: Mon Feb 7 14:50:01 2011
Log: Applied patch from Saab:
- Selecting a device that was already selected is no longer considered an
error.
http://code.google.com/p/sipxtapi/source/detail?r=1432

Modified:
/trunk/sipXmediaLib/src/mp/MpAudioDriverManager.cpp

=======================================
--- /trunk/sipXmediaLib/src/mp/MpAudioDriverManager.cpp Sat Jan 23 03:17:53
2010
+++ /trunk/sipXmediaLib/src/mp/MpAudioDriverManager.cpp Mon Feb 7 14:50:01
2011
@@ -262,6 +262,12 @@
m_outputAudioMixer =
m_pAudioDriver->getMixerForStream(m_outputAudioStream, OUTPUT_MIXER_INDEX);
return OS_SUCCESS;
}
+
+ // Selecting a device that is already selected is not a failure
+ if(bDeviceFound && i == m_outputDeviceIndex)
+ {
+ return OS_SUCCESS;
+ }
}
}

@@ -411,6 +417,12 @@

return OS_SUCCESS;
}
+
+ // Selecting a device that is already selected is not a failure
+ if(bDeviceFound && i == m_inputDeviceIndex)
+ {
+ return OS_SUCCESS;
+ }
}
}

Reply all
Reply to author
Forward
0 new messages