Porting GTalk bugs:

* http://b/issue?id=4442213
* http://b/issue?id=4354351
Review URL: http://webrtc-codereview.appspot.com/71003

git-svn-id: http://webrtc.googlecode.com/svn/trunk@216 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
zakkhoyt@google.com 2011-07-15 18:21:34 +00:00
parent ed9f705942
commit 5e26663904
2 changed files with 3 additions and 9 deletions

View File

@ -2046,7 +2046,7 @@ void AudioDeviceLinuxPulse::PaSourceInfoCallbackHandler(
}
// We don't want to list output devices
if (!strncmp(i->name, "alsa_input", 10))
if (i->monitor_of_sink == PA_INVALID_INDEX)
{
if (_numRecDevices == _deviceIndex)
{

View File

@ -399,8 +399,6 @@ int VoEVolumeControlImpl::GetSpeechInputLevel(unsigned int& level)
{
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_instanceId,-1),
"GetSpeechInputLevel()");
ANDROID_NOT_SUPPORTED();
IPHONE_NOT_SUPPORTED();
if (!_engineStatistics.Initialized())
{
@ -419,8 +417,6 @@ int VoEVolumeControlImpl::GetSpeechOutputLevel(int channel,
{
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_instanceId,-1),
"GetSpeechOutputLevel(channel=%d, level=?)", channel);
ANDROID_NOT_SUPPORTED();
IPHONE_NOT_SUPPORTED();
if (!_engineStatistics.Initialized())
{
@ -451,8 +447,7 @@ int VoEVolumeControlImpl::GetSpeechInputLevelFullRange(unsigned int& level)
{
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_instanceId,-1),
"GetSpeechInputLevelFullRange(level=?)");
ANDROID_NOT_SUPPORTED();
IPHONE_NOT_SUPPORTED();
if (!_engineStatistics.Initialized())
{
_engineStatistics.SetLastError(VE_NOT_INITED, kTraceError);
@ -470,8 +465,7 @@ int VoEVolumeControlImpl::GetSpeechOutputLevelFullRange(int channel,
{
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_instanceId,-1),
"GetSpeechOutputLevelFullRange(channel=%d, level=?)", channel);
ANDROID_NOT_SUPPORTED();
IPHONE_NOT_SUPPORTED();
if (!_engineStatistics.Initialized())
{
_engineStatistics.SetLastError(VE_NOT_INITED, kTraceError);