| Index: trunk/src/media/audio/win/waveout_output_win.cc
|
| ===================================================================
|
| --- trunk/src/media/audio/win/waveout_output_win.cc (revision 290375)
|
| +++ trunk/src/media/audio/win/waveout_output_win.cc (working copy)
|
| @@ -325,10 +325,9 @@
|
| // return to us how many bytes were used.
|
| // TODO(fbarchard): Handle used 0 by queueing more.
|
|
|
| - // TODO(sergeyu): Specify correct hardware delay for |total_delay_bytes|.
|
| - int total_delay_bytes = pending_bytes_;
|
| + // TODO(sergeyu): Specify correct hardware delay for AudioBuffersState.
|
| int frames_filled = callback_->OnMoreData(
|
| - audio_bus_.get(), total_delay_bytes);
|
| + audio_bus_.get(), AudioBuffersState(pending_bytes_, 0));
|
| uint32 used = frames_filled * audio_bus_->channels() *
|
| format_.Format.wBitsPerSample / 8;
|
|
|
|
|