summaryrefslogtreecommitdiffstats
path: root/remoting/codec/audio_encoder_opus.h
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/codec/audio_encoder_opus.h')
-rw-r--r--remoting/codec/audio_encoder_opus.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/remoting/codec/audio_encoder_opus.h b/remoting/codec/audio_encoder_opus.h
index e1c67d5..5e227a6 100644
--- a/remoting/codec/audio_encoder_opus.h
+++ b/remoting/codec/audio_encoder_opus.h
@@ -7,6 +7,9 @@
#include "remoting/codec/audio_encoder.h"
+#include <stdint.h>
+
+#include "base/macros.h"
#include "remoting/proto/audio.pb.h"
struct OpusEncoder;
@@ -52,7 +55,7 @@ class AudioEncoderOpus : public AudioEncoder {
int resampling_data_pos_;
// Left-over unencoded samples from the previous AudioPacket.
- scoped_ptr<int16[]> leftover_buffer_;
+ scoped_ptr<int16_t[]> leftover_buffer_;
int leftover_buffer_size_;
int leftover_samples_;