summaryrefslogtreecommitdiff
path: root/voice_engine/channel.h
diff options
context:
space:
mode:
authorandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-01-07 17:45:09 +0000
committerandrew@webrtc.org <andrew@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-01-07 17:45:09 +0000
commite95dc25b14845cbf00ae363e88459c44e2341c47 (patch)
tree16d64440bc779b925de14eb552514c4d8348fe69 /voice_engine/channel.h
parentb3b6049e62c99c02132df65560fbcbc86aa54479 (diff)
downloadwebrtc-e95dc25b14845cbf00ae363e88459c44e2341c47.tar.gz
Remove the requirement to call set_sample_rate_hz and friends.
Instead have ProcessStream transparently handle changes to the stream audio parameters (sample rate and channels). This removes two locks per 10 ms ProcessStream call taken by VoiceEngine (four total with the audio level indicator.) Also, prepare future improvements by having the splitting filter take a length parameter. This will allow it to work at different sample rates. Remove the useless splitting_filter wrapper. TESTED=voe_cmd_test with audio processing enabled and switching between codecs; unit tests. R=aluebs@webrtc.org, bjornv@webrtc.org, turaj@webrtc.org, xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/3949004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5346 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/channel.h')
-rw-r--r--voice_engine/channel.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/voice_engine/channel.h b/voice_engine/channel.h
index 48d50c20..3dfeedc4 100644
--- a/voice_engine/channel.h
+++ b/voice_engine/channel.h
@@ -443,7 +443,6 @@ private:
void UpdatePacketDelay(uint32_t timestamp,
uint16_t sequenceNumber);
void RegisterReceiveCodecsToRTPModule();
- int ApmProcessRx(AudioFrame& audioFrame);
int SetRedPayloadType(int red_payload_type);