tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

audio_device_generic.cc (1336B)


      1 /*
      2 *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
      3 *
      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
      6 *  tree. An additional intellectual property rights grant can be found
      7 *  in the file PATENTS.  All contributing project authors may
      8 *  be found in the AUTHORS file in the root of the source tree.
      9 */
     10 
     11 #include "modules/audio_device/audio_device_generic.h"
     12 
     13 #include <cstdint>
     14 
     15 namespace webrtc {
     16 
     17 bool AudioDeviceGeneric::BuiltInAECIsAvailable() const {
     18  return false;
     19 }
     20 
     21 int32_t AudioDeviceGeneric::EnableBuiltInAEC(bool /* enable */) {
     22  return -1;
     23 }
     24 
     25 bool AudioDeviceGeneric::BuiltInAGCIsAvailable() const {
     26  return false;
     27 }
     28 
     29 int32_t AudioDeviceGeneric::EnableBuiltInAGC(bool /* enable */) {
     30  return -1;
     31 }
     32 
     33 bool AudioDeviceGeneric::BuiltInNSIsAvailable() const {
     34  return false;
     35 }
     36 
     37 int32_t AudioDeviceGeneric::EnableBuiltInNS(bool /* enable */) {
     38  return -1;
     39 }
     40 
     41 int32_t AudioDeviceGeneric::GetPlayoutUnderrunCount() const {
     42  return -1;
     43 }
     44 
     45 #if defined(WEBRTC_IOS)
     46 int AudioDeviceGeneric::GetPlayoutAudioParameters(
     47    AudioParameters* params) const {
     48  return -1;
     49 }
     50 
     51 int AudioDeviceGeneric::GetRecordAudioParameters(
     52    AudioParameters* params) const {
     53  return -1;
     54 }
     55 #endif  // WEBRTC_IOS
     56 
     57 }  // namespace webrtc