summaryrefslogtreecommitdiff
path: root/voice_engine/voe_volume_control_impl.cc
diff options
context:
space:
mode:
authorfischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-01 00:16:35 +0000
committerfischman@webrtc.org <fischman@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-01 00:16:35 +0000
commit172f42aa293ecac25139c766c9a85954e9b54d80 (patch)
treed40a993c2a75670fda87c4cd4e509b82307039ee /voice_engine/voe_volume_control_impl.cc
parent3f2f44046b93454c88f5610f5a91ccae49907e3d (diff)
downloadwebrtc-172f42aa293ecac25139c766c9a85954e9b54d80.tar.gz
VoiceEngine(iOS & Android): removed NOT_SUPPORTED
Also: - removed underflow of a uint32 creating crazy-large delay values - removed always-fail AudioDeviceIPhone::MicrophoneIsAvailable() impl (see bug 3132) - removed unnecessary exclusion of features from iOS & Android builds BUG=2050,3132 R=andrew@webrtc.org, niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/10909005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5820 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/voe_volume_control_impl.cc')
-rw-r--r--voice_engine/voe_volume_control_impl.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/voice_engine/voe_volume_control_impl.cc b/voice_engine/voe_volume_control_impl.cc
index a2d5c44b..e47090df 100644
--- a/voice_engine/voe_volume_control_impl.cc
+++ b/voice_engine/voe_volume_control_impl.cc
@@ -54,7 +54,6 @@ int VoEVolumeControlImpl::SetSpeakerVolume(unsigned int volume)
{
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
"SetSpeakerVolume(volume=%u)", volume);
- IPHONE_NOT_SUPPORTED(_shared->statistics());
if (!_shared->statistics().Initialized())
{
@@ -96,7 +95,6 @@ int VoEVolumeControlImpl::GetSpeakerVolume(unsigned int& volume)
{
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
"GetSpeakerVolume()");
- IPHONE_NOT_SUPPORTED(_shared->statistics());
if (!_shared->statistics().Initialized())
{
@@ -179,8 +177,6 @@ int VoEVolumeControlImpl::SetMicVolume(unsigned int volume)
{
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
"SetMicVolume(volume=%u)", volume);
- ANDROID_NOT_SUPPORTED(_shared->statistics());
- IPHONE_NOT_SUPPORTED(_shared->statistics());
if (!_shared->statistics().Initialized())
{
@@ -238,8 +234,6 @@ int VoEVolumeControlImpl::GetMicVolume(unsigned int& volume)
{
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
"GetMicVolume()");
- ANDROID_NOT_SUPPORTED(_shared->statistics());
- IPHONE_NOT_SUPPORTED(_shared->statistics());
if (!_shared->statistics().Initialized())
{
@@ -538,8 +532,6 @@ int VoEVolumeControlImpl::SetOutputVolumePan(int channel,
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
"SetOutputVolumePan(channel=%d, left=%2.1f, right=%2.1f)",
channel, left, right);
- ANDROID_NOT_SUPPORTED(_shared->statistics());
- IPHONE_NOT_SUPPORTED(_shared->statistics());
if (!_shared->statistics().Initialized())
{
@@ -588,8 +580,6 @@ int VoEVolumeControlImpl::GetOutputVolumePan(int channel,
{
WEBRTC_TRACE(kTraceApiCall, kTraceVoice, VoEId(_shared->instance_id(), -1),
"GetOutputVolumePan(channel=%d, left=?, right=?)", channel);
- ANDROID_NOT_SUPPORTED(_shared->statistics());
- IPHONE_NOT_SUPPORTED(_shared->statistics());
if (!_shared->statistics().Initialized())
{