Reformat voe_audio_processing_impl to Goog style.
TBR=xians@webrtc.org BUG= TEST=voe_auto_test Review URL: https://webrtc-codereview.appspot.com/439003 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1847 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
6f9f817e06
commit
8b111eb3e6
File diff suppressed because it is too large
Load Diff
@ -16,89 +16,88 @@
|
||||
#include "ref_count.h"
|
||||
#include "shared_data.h"
|
||||
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
class VoEAudioProcessingImpl : public virtual voe::SharedData,
|
||||
public VoEAudioProcessing,
|
||||
public voe::RefCount
|
||||
{
|
||||
public:
|
||||
virtual int Release();
|
||||
class VoEAudioProcessingImpl
|
||||
: public virtual voe::SharedData,
|
||||
public VoEAudioProcessing,
|
||||
public voe::RefCount {
|
||||
public:
|
||||
virtual int Release();
|
||||
|
||||
virtual int SetNsStatus(bool enable, NsModes mode = kNsUnchanged);
|
||||
virtual int SetNsStatus(bool enable, NsModes mode = kNsUnchanged);
|
||||
|
||||
virtual int GetNsStatus(bool& enabled, NsModes& mode);
|
||||
virtual int GetNsStatus(bool& enabled, NsModes& mode);
|
||||
|
||||
virtual int SetAgcStatus(bool enable, AgcModes mode = kAgcUnchanged);
|
||||
virtual int SetAgcStatus(bool enable, AgcModes mode = kAgcUnchanged);
|
||||
|
||||
virtual int GetAgcStatus(bool& enabled, AgcModes& mode);
|
||||
virtual int GetAgcStatus(bool& enabled, AgcModes& mode);
|
||||
|
||||
virtual int SetAgcConfig(const AgcConfig config);
|
||||
virtual int SetAgcConfig(const AgcConfig config);
|
||||
|
||||
virtual int GetAgcConfig(AgcConfig& config);
|
||||
virtual int GetAgcConfig(AgcConfig& config);
|
||||
|
||||
virtual int SetRxNsStatus(int channel,
|
||||
bool enable,
|
||||
NsModes mode = kNsUnchanged);
|
||||
virtual int SetRxNsStatus(int channel,
|
||||
bool enable,
|
||||
NsModes mode = kNsUnchanged);
|
||||
|
||||
virtual int GetRxNsStatus(int channel, bool& enabled, NsModes& mode);
|
||||
virtual int GetRxNsStatus(int channel, bool& enabled, NsModes& mode);
|
||||
|
||||
virtual int SetRxAgcStatus(int channel,
|
||||
bool enable,
|
||||
AgcModes mode = kAgcUnchanged);
|
||||
virtual int SetRxAgcStatus(int channel,
|
||||
bool enable,
|
||||
AgcModes mode = kAgcUnchanged);
|
||||
|
||||
virtual int GetRxAgcStatus(int channel, bool& enabled, AgcModes& mode);
|
||||
virtual int GetRxAgcStatus(int channel, bool& enabled, AgcModes& mode);
|
||||
|
||||
virtual int SetRxAgcConfig(int channel, const AgcConfig config);
|
||||
virtual int SetRxAgcConfig(int channel, const AgcConfig config);
|
||||
|
||||
virtual int GetRxAgcConfig(int channel, AgcConfig& config);
|
||||
virtual int GetRxAgcConfig(int channel, AgcConfig& config);
|
||||
|
||||
virtual int SetEcStatus(bool enable, EcModes mode = kEcUnchanged);
|
||||
virtual int SetEcStatus(bool enable, EcModes mode = kEcUnchanged);
|
||||
|
||||
virtual int GetEcStatus(bool& enabled, EcModes& mode);
|
||||
virtual int GetEcStatus(bool& enabled, EcModes& mode);
|
||||
|
||||
virtual void SetDelayOffsetMs(int offset);
|
||||
virtual void SetDelayOffsetMs(int offset);
|
||||
|
||||
virtual int DelayOffsetMs();
|
||||
virtual int DelayOffsetMs();
|
||||
|
||||
virtual int SetAecmMode(AecmModes mode = kAecmSpeakerphone,
|
||||
bool enableCNG = true);
|
||||
virtual int SetAecmMode(AecmModes mode = kAecmSpeakerphone,
|
||||
bool enableCNG = true);
|
||||
|
||||
virtual int GetAecmMode(AecmModes& mode, bool& enabledCNG);
|
||||
virtual int GetAecmMode(AecmModes& mode, bool& enabledCNG);
|
||||
|
||||
virtual int RegisterRxVadObserver(int channel,
|
||||
VoERxVadCallback& observer);
|
||||
virtual int RegisterRxVadObserver(int channel,
|
||||
VoERxVadCallback& observer);
|
||||
|
||||
virtual int DeRegisterRxVadObserver(int channel);
|
||||
virtual int DeRegisterRxVadObserver(int channel);
|
||||
|
||||
virtual int VoiceActivityIndicator(int channel);
|
||||
virtual int VoiceActivityIndicator(int channel);
|
||||
|
||||
virtual int SetEcMetricsStatus(bool enable);
|
||||
virtual int SetEcMetricsStatus(bool enable);
|
||||
|
||||
virtual int GetEcMetricsStatus(bool& enabled);
|
||||
virtual int GetEcMetricsStatus(bool& enabled);
|
||||
|
||||
virtual int GetEchoMetrics(int& ERL, int& ERLE, int& RERL, int& A_NLP);
|
||||
virtual int GetEchoMetrics(int& ERL, int& ERLE, int& RERL, int& A_NLP);
|
||||
|
||||
virtual int GetEcDelayMetrics(int& delay_median, int& delay_std);
|
||||
virtual int GetEcDelayMetrics(int& delay_median, int& delay_std);
|
||||
|
||||
virtual int StartDebugRecording(const char* fileNameUTF8);
|
||||
virtual int StartDebugRecording(const char* fileNameUTF8);
|
||||
|
||||
virtual int StopDebugRecording();
|
||||
virtual int StopDebugRecording();
|
||||
|
||||
virtual int SetTypingDetectionStatus(bool enable);
|
||||
virtual int SetTypingDetectionStatus(bool enable);
|
||||
|
||||
virtual int GetTypingDetectionStatus(bool& enabled);
|
||||
virtual int GetTypingDetectionStatus(bool& enabled);
|
||||
|
||||
protected:
|
||||
VoEAudioProcessingImpl();
|
||||
virtual ~VoEAudioProcessingImpl();
|
||||
protected:
|
||||
VoEAudioProcessingImpl();
|
||||
virtual ~VoEAudioProcessingImpl();
|
||||
|
||||
private:
|
||||
bool _isAecMode;
|
||||
private:
|
||||
bool _isAecMode;
|
||||
};
|
||||
|
||||
} // namespace webrtc
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H
|
||||
#endif // WEBRTC_VOICE_ENGINE_VOE_AUDIO_PROCESSING_IMPL_H
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user