| 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 |
| 11 #ifndef WEBRTC_API_CALL_AUDIO_RECEIVE_STREAM_H_ | 11 #ifndef WEBRTC_API_CALL_AUDIO_RECEIVE_STREAM_H_ |
| 12 #define WEBRTC_API_CALL_AUDIO_RECEIVE_STREAM_H_ | 12 #define WEBRTC_API_CALL_AUDIO_RECEIVE_STREAM_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <memory> | 15 #include <memory> |
| 16 #include <string> | 16 #include <string> |
| 17 #include <vector> | 17 #include <vector> |
| 18 | 18 |
| 19 #include "webrtc/api/call/transport.h" |
| 19 #include "webrtc/base/scoped_ref_ptr.h" | 20 #include "webrtc/base/scoped_ref_ptr.h" |
| 20 #include "webrtc/modules/audio_coding/codecs/audio_decoder_factory.h" | 21 #include "webrtc/modules/audio_coding/codecs/audio_decoder_factory.h" |
| 21 #include "webrtc/common_types.h" | 22 #include "webrtc/common_types.h" |
| 22 #include "webrtc/config.h" | 23 #include "webrtc/config.h" |
| 23 #include "webrtc/transport.h" | |
| 24 #include "webrtc/typedefs.h" | 24 #include "webrtc/typedefs.h" |
| 25 | 25 |
| 26 namespace webrtc { | 26 namespace webrtc { |
| 27 class AudioSinkInterface; | 27 class AudioSinkInterface; |
| 28 | 28 |
| 29 // WORK IN PROGRESS | 29 // WORK IN PROGRESS |
| 30 // This class is under development and is not yet intended for for use outside | 30 // This class is under development and is not yet intended for for use outside |
| 31 // of WebRtc/Libjingle. Please use the VoiceEngine API instead. | 31 // of WebRtc/Libjingle. Please use the VoiceEngine API instead. |
| 32 // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=4690 | 32 // See: https://bugs.chromium.org/p/webrtc/issues/detail?id=4690 |
| 33 | 33 |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 131 // 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 |
| 132 // is potentially forwarded to any attached AudioSinkInterface implementation. | 132 // is potentially forwarded to any attached AudioSinkInterface implementation. |
| 133 virtual void SetGain(float gain) = 0; | 133 virtual void SetGain(float gain) = 0; |
| 134 | 134 |
| 135 protected: | 135 protected: |
| 136 virtual ~AudioReceiveStream() {} | 136 virtual ~AudioReceiveStream() {} |
| 137 }; | 137 }; |
| 138 } // namespace webrtc | 138 } // namespace webrtc |
| 139 | 139 |
| 140 #endif // WEBRTC_API_CALL_AUDIO_RECEIVE_STREAM_H_ | 140 #endif // WEBRTC_API_CALL_AUDIO_RECEIVE_STREAM_H_ |
| OLD | NEW |