LCOV - code coverage report
Current view: top level - media/webrtc/trunk/webrtc/modules/audio_coding/neteq - neteq.cc (source / functions) Hit Total Coverage
Test: output.info Lines: 0 12 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 2 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  *  Copyright (c) 2012 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 "webrtc/modules/audio_coding/neteq/include/neteq.h"
      12             : 
      13             : #include <memory>
      14             : #include <sstream>
      15             : 
      16             : #include "webrtc/modules/audio_coding/neteq/neteq_impl.h"
      17             : 
      18             : namespace webrtc {
      19             : 
      20           0 : std::string NetEq::Config::ToString() const {
      21           0 :   std::stringstream ss;
      22           0 :   ss << "sample_rate_hz=" << sample_rate_hz
      23             :      << ", enable_post_decode_vad="
      24           0 :      << (enable_post_decode_vad ? "true" : "false")
      25           0 :      << ", max_packets_in_buffer=" << max_packets_in_buffer
      26           0 :      << ", background_noise_mode=" << background_noise_mode
      27           0 :      << ", playout_mode=" << playout_mode
      28             :      << ", enable_fast_accelerate="
      29           0 :      << (enable_fast_accelerate ? " true": "false")
      30           0 :      << ", enable_muted_state=" << (enable_muted_state ? " true": "false");
      31           0 :   return ss.str();
      32             : }
      33             : 
      34             : // Creates all classes needed and inject them into a new NetEqImpl object.
      35             : // Return the new object.
      36           0 : NetEq* NetEq::Create(
      37             :     const NetEq::Config& config,
      38             :     const rtc::scoped_refptr<AudioDecoderFactory>& decoder_factory) {
      39             :   return new NetEqImpl(config,
      40           0 :                        NetEqImpl::Dependencies(config, decoder_factory));
      41             : }
      42             : 
      43             : }  // namespace webrtc

Generated by: LCOV version 1.13