OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |