Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: webrtc/voice_engine/include/voe_hardware.h

Issue 1344563002: Improving support for Android Audio Effects in WebRTC (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Improved comments Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 // Gets the currently used (active) audio device layer. 85 // Gets the currently used (active) audio device layer.
86 virtual int GetAudioDeviceLayer(AudioLayers& audioLayer) = 0; 86 virtual int GetAudioDeviceLayer(AudioLayers& audioLayer) = 0;
87 87
88 // Native sample rate controls (samples/sec) 88 // Native sample rate controls (samples/sec)
89 virtual int SetRecordingSampleRate(unsigned int samples_per_sec) = 0; 89 virtual int SetRecordingSampleRate(unsigned int samples_per_sec) = 0;
90 virtual int RecordingSampleRate(unsigned int* samples_per_sec) const = 0; 90 virtual int RecordingSampleRate(unsigned int* samples_per_sec) const = 0;
91 virtual int SetPlayoutSampleRate(unsigned int samples_per_sec) = 0; 91 virtual int SetPlayoutSampleRate(unsigned int samples_per_sec) = 0;
92 virtual int PlayoutSampleRate(unsigned int* samples_per_sec) const = 0; 92 virtual int PlayoutSampleRate(unsigned int* samples_per_sec) const = 0;
93 93
94 // Queries and controls platform audio effects on Android devices.
94 virtual bool BuiltInAECIsAvailable() const = 0; 95 virtual bool BuiltInAECIsAvailable() const = 0;
95 virtual int EnableBuiltInAEC(bool enable) = 0; 96 virtual int EnableBuiltInAEC(bool enable) = 0;
97 virtual bool BuiltInAGCIsAvailable() const = 0;
98 virtual int EnableBuiltInAGC(bool enable) = 0;
99 virtual bool BuiltInNSIsAvailable() const = 0;
100 virtual int EnableBuiltInNS(bool enable) = 0;
96 101
97 protected: 102 protected:
98 VoEHardware() {} 103 VoEHardware() {}
99 virtual ~VoEHardware() {} 104 virtual ~VoEHardware() {}
100 }; 105 };
101 106
102 } // namespace webrtc 107 } // namespace webrtc
103 108
104 #endif // WEBRTC_VOICE_ENGINE_VOE_HARDWARE_H 109 #endif // WEBRTC_VOICE_ENGINE_VOE_HARDWARE_H
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/include/fake_audio_device.h ('k') | webrtc/voice_engine/voe_hardware_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698