Index: media/audio/alsa/alsa_output.h |
diff --git a/media/audio/alsa/alsa_output.h b/media/audio/alsa/alsa_output.h |
index 0a7b861b3e218b161cc5c97225e12e864b990b25..132e160cc0d17afbb779df34f735f2f946af7225 100644 |
--- a/media/audio/alsa/alsa_output.h |
+++ b/media/audio/alsa/alsa_output.h |
@@ -206,6 +206,9 @@ class MEDIA_EXPORT AlsaPcmOutputStream : public AudioOutputStream { |
InternalState state_; |
float volume_; // Volume level from 0.0 to 1.0. |
+ // Total amount of the frames written from the playback start. |
+ snd_pcm_sframes_t elapsed_written_frames_; |
+ |
AudioSourceCallback* source_callback_; |
// Container for retrieving data from AudioSourceCallback::OnMoreData(). |