Index: trunk/src/media/cast/test/receiver.cc |
=================================================================== |
--- trunk/src/media/cast/test/receiver.cc (revision 290375) |
+++ trunk/src/media/cast/test/receiver.cc (working copy) |
@@ -316,7 +316,7 @@ |
//////////////////////////////////////////////////////////////////// |
// AudioSourceCallback implementation. |
- virtual int OnMoreData(AudioBus* dest, int total_bytes_delay) |
+ virtual int OnMoreData(AudioBus* dest, AudioBuffersState buffers_state) |
OVERRIDE { |
// Note: This method is being invoked by a separate thread unknown to us |
// (i.e., outside of CastEnvironment). |
@@ -329,8 +329,8 @@ |
base::AutoLock auto_lock(audio_lock_); |
// Prune the queue, skipping entries that are too old. |
- // TODO(miu): Use |total_bytes_delay| to account for audio buffering |
- // delays upstream. |
+ // TODO(miu): Use |buffers_state| to account for audio buffering delays |
+ // upstream. |
const base::TimeTicks earliest_time_to_play = |
cast_env()->Clock()->NowTicks() - max_frame_age_; |
while (!audio_playout_queue_.empty() && |