| Index: media/audio/linux/cras_output.cc
|
| diff --git a/media/audio/linux/cras_output.cc b/media/audio/linux/cras_output.cc
|
| index e27282c8d8f196191df544e0869ebb4819f45155..c1a9e77c2fd560aa83540bee30ca5345687616ec 100644
|
| --- a/media/audio/linux/cras_output.cc
|
| +++ b/media/audio/linux/cras_output.cc
|
| @@ -285,7 +285,7 @@ uint32 CrasOutputStream::Render(size_t frames,
|
| // Note: If this ever changes to output raw float the data must be clipped and
|
| // sanitized since it may come from an untrusted source such as NaCl.
|
| audio_bus_->ToInterleaved(
|
| - frames_filled, bytes_per_frame_ / (frames * num_channels_), buffer);
|
| + frames_filled, bytes_per_frame_ / num_channels_, buffer);
|
| return frames_filled;
|
| }
|
|
|
|
|