Chromium Code Reviews| Index: media/audio/audio_output_device.cc |
| diff --git a/media/audio/audio_output_device.cc b/media/audio/audio_output_device.cc |
| index 994fa40d24518a1c883f5fe062e6c55c9431f8c8..cc4c4cfb009b95e444d7ac6444f13f206b1d3eea 100644 |
| --- a/media/audio/audio_output_device.cc |
| +++ b/media/audio/audio_output_device.cc |
| @@ -271,9 +271,8 @@ void AudioOutputDevice::AudioThreadCallback::Process(int pending_data) { |
| // Interleave, scale, and clip to int. |
| // TODO(dalecurtis): Remove this when we have float everywhere. |
|
scherkus (not reviewing)
2012/08/16 18:58:19
reference bug?
DaleCurtis
2012/08/17 02:15:58
Done.
|
| - InterleaveFloatToInt( |
| - audio_bus_.get(), shared_memory_.memory(), num_frames, |
| - audio_parameters_.bits_per_sample() / 8); |
| + audio_bus_->ToInterleaved(num_frames, audio_parameters_.bits_per_sample() / 8, |
| + shared_memory_.memory()); |
| // Let the host know we are done. |
| SetActualDataSizeInBytes( |