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

Side by Side Diff: webrtc/modules/audio_device/audio_device_impl.cc

Issue 1952123003: Surface the IntelligibilityEnhancer on MediaConstraints (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 7 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) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 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 1886 matching lines...) Expand 10 before | Expand all | Expand 10 after
1897 bool AudioDeviceModuleImpl::BuiltInNSIsAvailable() const { 1897 bool AudioDeviceModuleImpl::BuiltInNSIsAvailable() const {
1898 CHECK_INITIALIZED_BOOL(); 1898 CHECK_INITIALIZED_BOOL();
1899 return _ptrAudioDevice->BuiltInNSIsAvailable(); 1899 return _ptrAudioDevice->BuiltInNSIsAvailable();
1900 } 1900 }
1901 1901
1902 int32_t AudioDeviceModuleImpl::EnableBuiltInNS(bool enable) { 1902 int32_t AudioDeviceModuleImpl::EnableBuiltInNS(bool enable) {
1903 CHECK_INITIALIZED(); 1903 CHECK_INITIALIZED();
1904 return _ptrAudioDevice->EnableBuiltInNS(enable); 1904 return _ptrAudioDevice->EnableBuiltInNS(enable);
1905 } 1905 }
1906 1906
1907 bool AudioDeviceModuleImpl::IntelligibilityIsEnabled() const {
1908 CHECK_INITIALIZED_BOOL();
1909 return _ptrAudioDevice->IntelligibilityIsEnabled();
1910 }
1911
1907 int AudioDeviceModuleImpl::GetPlayoutAudioParameters( 1912 int AudioDeviceModuleImpl::GetPlayoutAudioParameters(
1908 AudioParameters* params) const { 1913 AudioParameters* params) const {
1909 return _ptrAudioDevice->GetPlayoutAudioParameters(params); 1914 return _ptrAudioDevice->GetPlayoutAudioParameters(params);
1910 } 1915 }
1911 1916
1912 int AudioDeviceModuleImpl::GetRecordAudioParameters( 1917 int AudioDeviceModuleImpl::GetRecordAudioParameters(
1913 AudioParameters* params) const { 1918 AudioParameters* params) const {
1914 return _ptrAudioDevice->GetRecordAudioParameters(params); 1919 return _ptrAudioDevice->GetRecordAudioParameters(params);
1915 } 1920 }
1916 1921
(...skipping 13 matching lines...) Expand all
1930 // ---------------------------------------------------------------------------- 1935 // ----------------------------------------------------------------------------
1931 // PlatformAudioLayer 1936 // PlatformAudioLayer
1932 // ---------------------------------------------------------------------------- 1937 // ----------------------------------------------------------------------------
1933 1938
1934 AudioDeviceModule::AudioLayer AudioDeviceModuleImpl::PlatformAudioLayer() const 1939 AudioDeviceModule::AudioLayer AudioDeviceModuleImpl::PlatformAudioLayer() const
1935 { 1940 {
1936 return _platformAudioLayer; 1941 return _platformAudioLayer;
1937 } 1942 }
1938 1943
1939 } // namespace webrtc 1944 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698