Chromium Code Reviews| Index: webrtc/modules/audio_device/android/audio_track_jni.h |
| diff --git a/webrtc/modules/audio_device/android/audio_track_jni.h b/webrtc/modules/audio_device/android/audio_track_jni.h |
| index 2c78a5901c5cad77c64c1fc025c99aefb9625870..23dfe8eea355a41be711b012c8a37a7949be8c1d 100644 |
| --- a/webrtc/modules/audio_device/android/audio_track_jni.h |
| +++ b/webrtc/modules/audio_device/android/audio_track_jni.h |
| @@ -139,6 +139,11 @@ class AudioTrackJni { |
| // Example: 480 for 48000 Hz or 441 for 44100 Hz. |
| size_t frames_per_buffer_; |
| + // Number of bytes per audio frame assuming that all sampels are 16-bit linear |
| + // PCM samples. |
| + // Example: 4 bytes for stereo and 2 bytes for mono. |
| + size_t bytes_per_frame_; |
|
magjed_webrtc
2016/11/16 13:42:09
Do we need to store this as a member variable, or
henrika_webrtc
2016/11/16 13:56:38
Done.
|
| + |
| bool initialized_; |
| bool playing_; |