Index: webrtc/voice_engine/file_player.h |
diff --git a/webrtc/voice_engine/file_player.h b/webrtc/voice_engine/file_player.h |
index 956016f07f4555d448c8e1c5188e64c26eae8d59..1a321f64073de07e7acc9692d04ae6c12c70ff67 100644 |
--- a/webrtc/voice_engine/file_player.h |
+++ b/webrtc/voice_engine/file_player.h |
@@ -23,8 +23,8 @@ class FileCallback; |
class FilePlayer { |
public: |
- // The largest decoded frame size in samples (60ms with 32kHz sample rate). |
the sun
2017/03/31 10:26:18
Note that VoE file playing functionality is going
minyue-webrtc
2017/03/31 10:47:31
I use it for a little project by myself. So I don'
|
- enum { MAX_AUDIO_BUFFER_IN_SAMPLES = 60 * 32 }; |
+ // The largest decoded frame size in samples (120ms with 48kHz sample rate). |
+ enum { MAX_AUDIO_BUFFER_IN_SAMPLES = 120 * 48 }; |
enum { MAX_AUDIO_BUFFER_IN_BYTES = MAX_AUDIO_BUFFER_IN_SAMPLES * 2 }; |
// Note: will return NULL for unsupported formats. |