summaryrefslogtreecommitdiff
path: root/voice_engine/voe_base_impl.h
diff options
context:
space:
mode:
authorxians@webrtc.org <xians@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-14 10:50:37 +0000
committerxians@webrtc.org <xians@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d>2014-04-14 10:50:37 +0000
commit91d88e1320d33fdc3648041bd941509e722f3ac4 (patch)
tree5479553628d28e9f70967035f232d9e4ba0c2671 /voice_engine/voe_base_impl.h
parent26103b99a9316a51ec642ab2943c464e8d14cd78 (diff)
downloadwebrtc-91d88e1320d33fdc3648041bd941509e722f3ac4.tar.gz
Added a new OnMoreData() interface which will not feed the playout data to APM.
BUG=3147 R=andrew@webrtc.org Review URL: https://webrtc-codereview.appspot.com/11059005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5895 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'voice_engine/voe_base_impl.h')
-rw-r--r--voice_engine/voe_base_impl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/voice_engine/voe_base_impl.h b/voice_engine/voe_base_impl.h
index df406eb9..8a3973a8 100644
--- a/voice_engine/voe_base_impl.h
+++ b/voice_engine/voe_base_impl.h
@@ -106,6 +106,14 @@ public:
int bits_per_sample, int sample_rate,
int number_of_channels, int number_of_frames);
+ virtual void PushCaptureData(int voe_channel, const void* audio_data,
+ int bits_per_sample, int sample_rate,
+ int number_of_channels, int number_of_frames);
+
+ virtual void PullRenderData(int bits_per_sample, int sample_rate,
+ int number_of_channels, int number_of_frames,
+ void* audio_data);
+
// AudioDeviceObserver
virtual void OnErrorIsReported(ErrorCode error);
virtual void OnWarningIsReported(WarningCode warning);
@@ -138,6 +146,10 @@ private:
uint32_t volume,
bool key_pressed);
+ void GetPlayoutData(int sample_rate, int number_of_channels,
+ int number_of_frames, bool feed_data_to_apm,
+ void* audio_data);
+
int32_t AddBuildInfo(char* str) const;
int32_t AddVoEVersion(char* str) const;