| 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_AUDIO_RECEIVE_STREAM_H_ | 11 #ifndef WEBRTC_API_AUDIO_AUDIO_RECEIVE_STREAM_H_ |
| 12 #define WEBRTC_AUDIO_RECEIVE_STREAM_H_ | 12 #define WEBRTC_API_AUDIO_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/common_types.h" | 19 #include "webrtc/common_types.h" |
| 20 #include "webrtc/config.h" | 20 #include "webrtc/config.h" |
| 21 #include "webrtc/transport.h" | 21 #include "webrtc/transport.h" |
| 22 #include "webrtc/typedefs.h" | 22 #include "webrtc/typedefs.h" |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 120 // to stream through this sink. In practice, this happens if mixed audio | 120 // to stream through this sink. In practice, this happens if mixed audio |
| 121 // is being pulled+rendered and/or if audio is being pulled for the purposes | 121 // is being pulled+rendered and/or if audio is being pulled for the purposes |
| 122 // of feeding to the AEC. | 122 // of feeding to the AEC. |
| 123 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink) = 0; | 123 virtual void SetSink(std::unique_ptr<AudioSinkInterface> sink) = 0; |
| 124 | 124 |
| 125 protected: | 125 protected: |
| 126 virtual ~AudioReceiveStream() {} | 126 virtual ~AudioReceiveStream() {} |
| 127 }; | 127 }; |
| 128 } // namespace webrtc | 128 } // namespace webrtc |
| 129 | 129 |
| 130 #endif // WEBRTC_AUDIO_RECEIVE_STREAM_H_ | 130 #endif // WEBRTC_API_AUDIO_AUDIO_RECEIVE_STREAM_H_ |
| OLD | NEW |