summaryrefslogtreecommitdiff
path: root/voice_engine/voe_audio_processing_impl.cc
AgeCommit message (Collapse)Author
2013-12-06Allow opening an AEC dump from an existing file handle.henrikg@webrtc.org
This is necessary for Chromium to be able enable the dump with the sanbox enabled. It will open the file in the browser process and pass the handle to the render process. This changes FileWrapper to deal with the case were the file handle is not managed by the wrapper. BUG=2567 R=andrew@webrtc.org, henrika@webrtc.org, perkj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/4649004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@5239 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-08-07Ref-counted rewrite of ChannelManager.pbos@webrtc.org
The complexity of the last ChannelManager and potentially usage of it as well caused race conditions and deadlocks in loopback voe_auto_test. This ref-counted solution takes no long-term locks, uses less locks overall and is significantly easier to understand. ScopedChannel has been split up into a ChannelOwner with a reference to a channel and an Iterator over ChannelManager. Previous code was really used for both things. ChannelOwner is used as a shared pointer to a channel object, while an Iterator should work as expected. BUG=2081 R=tommi@webrtc.org, xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1802004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4502 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-07-03Proper spacing for end-of-namespace comments.pbos@webrtc.org
BUG= R=mflodman@webrtc.org, tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1760006 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4293 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-06-19Remove unneeded *_NOT_SUPPORTED from VoEAudioProcessing.andrew@webrtc.org
* Remove ANDROID_NOT_SUPPORTED from a bunch of echo metrics calls where it actually is supported. * No error to call GetTypingDetectionStatus. * Consolidate typing detection disablement to reduce boilerplate. R=niklas.enbom@webrtc.org, xians@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1683004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4247 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-21Include files from webrtc/.. paths in voice_engine/pbos@webrtc.org
BUG=1662 R=henrikg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1434005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4079 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-05-14Remove const for plain data types in voice_engine/pbos@webrtc.org
BUG=1644 R=henrikg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/1463004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@4018 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-03-25Enable the below APIs for iOS.sjlee@webrtc.org
class VoEAudioProcessing int RegisterRxVadObserver(); int DeRegisterRxVadObserver(); int SetEcMetricsStatus(); int GetEcMetricsStatus() int GetEchoMetrics(); int GetEcDelayMetrics(); class VoENetEqStats int GetNetworkStatistics(); class VoEVolumeControl int SetChannelOutputVolumeScaling(); int GetChannelOutputVolumeScaling(); Review URL: https://webrtc-codereview.appspot.com/1159004 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3719 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-03-05Expose the capture-side AudioProcessing object and allow it to be injected.andrew@webrtc.org
* Clean up the configuration code, including removing most of the weird defines. * Add a unit test. Review URL: https://webrtc-codereview.appspot.com/1152005 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3605 4adac7df-926f-26a2-2b94-8c16560cd09d
2013-02-15Make VoiceEngineImpl inherit from VoiceEngine.tommi@webrtc.org
This associates the two types instead of incorrectly reinterpret casting VoiceEngineImpl* to VoiceEngine* (since these types were previously unrelated). Please see more details in the bug for how this is currently causing problems with security tools. BUG=38612 Review URL: https://webrtc-codereview.appspot.com/1099013 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3520 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-14Add libjingle-style stream-style logging.andrew@webrtc.org
Add a highly stripped-down version of libjingle's base/logging.h. It is a thin wrapper around WEBRTC_TRACE, maintaining the libjingle log semantics to ease a transition to that format. Also add some helper macros for easy API and function failure logging. Review URL: https://webrtc-codereview.appspot.com/931010 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3099 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-11-06Check the channels in receive-side processing frames.andrew@webrtc.org
The number of channels must be set correctly before calling ProcessStream. This was preventing stereo frames from being processed. Also fix voe_cmd_test, which wasn't enabling rx NS properly. BUG=issue713, 7375579 Review URL: https://webrtc-codereview.appspot.com/929013 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@3047 4adac7df-926f-26a2-2b94-8c16560cd09d
2012-10-22Move src/ -> webrtc/andrew@webrtc.org
TBR=niklas.enbom@webrtc.org Review URL: https://webrtc-codereview.appspot.com/915006 git-svn-id: http://webrtc.googlecode.com/svn/trunk/webrtc@2963 4adac7df-926f-26a2-2b94-8c16560cd09d