OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2015 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 float speech_expand_rate = 0.0f; | 50 float speech_expand_rate = 0.0f; |
51 float secondary_decoded_rate = 0.0f; | 51 float secondary_decoded_rate = 0.0f; |
52 float accelerate_rate = 0.0f; | 52 float accelerate_rate = 0.0f; |
53 float preemptive_expand_rate = 0.0f; | 53 float preemptive_expand_rate = 0.0f; |
54 int32_t decoding_calls_to_silence_generator = 0; | 54 int32_t decoding_calls_to_silence_generator = 0; |
55 int32_t decoding_calls_to_neteq = 0; | 55 int32_t decoding_calls_to_neteq = 0; |
56 int32_t decoding_normal = 0; | 56 int32_t decoding_normal = 0; |
57 int32_t decoding_plc = 0; | 57 int32_t decoding_plc = 0; |
58 int32_t decoding_cng = 0; | 58 int32_t decoding_cng = 0; |
59 int32_t decoding_plc_cng = 0; | 59 int32_t decoding_plc_cng = 0; |
| 60 int32_t decoding_muted_output = 0; |
60 int64_t capture_start_ntp_time_ms = 0; | 61 int64_t capture_start_ntp_time_ms = 0; |
61 }; | 62 }; |
62 | 63 |
63 struct Config { | 64 struct Config { |
64 std::string ToString() const; | 65 std::string ToString() const; |
65 | 66 |
66 // Receive-stream specific RTP settings. | 67 // Receive-stream specific RTP settings. |
67 struct Rtp { | 68 struct Rtp { |
68 std::string ToString() const; | 69 std::string ToString() const; |
69 | 70 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 // Sets playback gain of the stream, applied when mixing, and thus after it | 131 // Sets playback gain of the stream, applied when mixing, and thus after it |
131 // is potentially forwarded to any attached AudioSinkInterface implementation. | 132 // is potentially forwarded to any attached AudioSinkInterface implementation. |
132 virtual void SetGain(float gain) = 0; | 133 virtual void SetGain(float gain) = 0; |
133 | 134 |
134 protected: | 135 protected: |
135 virtual ~AudioReceiveStream() {} | 136 virtual ~AudioReceiveStream() {} |
136 }; | 137 }; |
137 } // namespace webrtc | 138 } // namespace webrtc |
138 | 139 |
139 #endif // WEBRTC_API_CALL_AUDIO_RECEIVE_STREAM_H_ | 140 #endif // WEBRTC_API_CALL_AUDIO_RECEIVE_STREAM_H_ |
OLD | NEW |