henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2014 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/codecs/audio_encoder.h" |
| 12 | |
| 13 | namespace webrtc { |
| 14 | |
| 15 | AudioEncoder::EncodedInfo::EncodedInfo() : EncodedInfoLeaf() { |
| 16 | } |
| 17 | |
| 18 | AudioEncoder::EncodedInfo::~EncodedInfo() { |
| 19 | } |
| 20 | |
henrik.lundin@webrtc.org | 478cedc | 2015-01-27 18:24:45 +0000 | [diff] [blame] | 21 | int AudioEncoder::rtp_timestamp_rate_hz() const { |
| 22 | return sample_rate_hz(); |
| 23 | } |
| 24 | |
henrik.lundin@webrtc.org | c1c9291 | 2014-12-16 13:41:36 +0000 | [diff] [blame] | 25 | } // namespace webrtc |