| Index: webrtc/modules/audio_coding/neteq/sync_buffer.h
|
| diff --git a/webrtc/modules/audio_coding/neteq/sync_buffer.h b/webrtc/modules/audio_coding/neteq/sync_buffer.h
|
| index 38e7887794fcef506abdf69a3b6b4ada3f3c7254..c3bb4a90690b36ae379320a8a776e92deb78dd63 100644
|
| --- a/webrtc/modules/audio_coding/neteq/sync_buffer.h
|
| +++ b/webrtc/modules/audio_coding/neteq/sync_buffer.h
|
| @@ -13,6 +13,7 @@
|
|
|
| #include "webrtc/base/constructormagic.h"
|
| #include "webrtc/modules/audio_coding/neteq/audio_multi_vector.h"
|
| +#include "webrtc/modules/include/module_common_types.h"
|
| #include "webrtc/typedefs.h"
|
|
|
| namespace webrtc {
|
| @@ -65,8 +66,10 @@ class SyncBuffer : public AudioMultiVector {
|
|
|
| // Reads |requested_len| samples from each channel and writes them interleaved
|
| // into |output|. The |next_index_| is updated to point to the sample to read
|
| - // next time.
|
| - size_t GetNextAudioInterleaved(size_t requested_len, int16_t* output);
|
| + // next time. The AudioFrame |output| is first reset, and the |data_|,
|
| + // |interleaved_|, |num_channels_|, and |samples_per_channel_| fields are
|
| + // updated.
|
| + void GetNextAudioInterleaved(size_t requested_len, AudioFrame* output);
|
|
|
| // Adds |increment| to |end_timestamp_|.
|
| void IncreaseEndTimestamp(uint32_t increment);
|
|
|