Add Config option to enable 48kHz support in AudioProcessing
BUG=webrtc:3146 R=andrew@webrtc.org, bjornv@webrtc.org Review URL: https://webrtc-codereview.appspot.com/45389004 Cr-Commit-Position: refs/heads/master@{#8563} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8563 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -105,6 +105,15 @@ struct Beamforming {
|
||||
const std::vector<Point> array_geometry;
|
||||
};
|
||||
|
||||
// Use to enable 48kHz support in audio processing. Must be provided through the
|
||||
// constructor. It will have no impact if used with
|
||||
// AudioProcessing::SetExtraOptions().
|
||||
struct AudioProcessing48kHzSupport {
|
||||
AudioProcessing48kHzSupport() : enabled(false) {}
|
||||
explicit AudioProcessing48kHzSupport(bool enabled) : enabled(enabled) {}
|
||||
bool enabled;
|
||||
};
|
||||
|
||||
static const int kAudioProcMaxNativeSampleRateHz = 32000;
|
||||
|
||||
// The Audio Processing Module (APM) provides a collection of voice processing
|
||||
|
Reference in New Issue
Block a user