Chromium Code Reviews| Index: webrtc/modules/audio_coding/neteq/include/neteq.h |
| diff --git a/webrtc/modules/audio_coding/neteq/include/neteq.h b/webrtc/modules/audio_coding/neteq/include/neteq.h |
| index 89b0c543244536084d15bf4df08db51eebda6509..d83513a2d869a5570dad22351e844145da3afe96 100644 |
| --- a/webrtc/modules/audio_coding/neteq/include/neteq.h |
| +++ b/webrtc/modules/audio_coding/neteq/include/neteq.h |
| @@ -26,6 +26,7 @@ namespace webrtc { |
| // Forward declarations. |
| class AudioFrame; |
| struct WebRtcRTPHeader; |
| +class AudioDecoderFactory; |
|
kwiberg-webrtc
2016/05/17 13:33:48
Why not just include the header instead?
ossu
2016/05/17 14:25:35
I ... I don't know. Either way works, I guess.
|
| struct NetEqNetworkStatistics { |
| uint16_t current_buffer_size_ms; // Current jitter buffer size in ms. |
| @@ -132,7 +133,9 @@ class NetEq { |
| // Creates a new NetEq object, with parameters set in |config|. The |config| |
| // object will only have to be valid for the duration of the call to this |
| // method. |
| - static NetEq* Create(const NetEq::Config& config); |
| + static NetEq* Create( |
| + const NetEq::Config& config, |
| + std::shared_ptr<AudioDecoderFactory> decoder_factory); |
| virtual ~NetEq() {} |