Chromium Code Reviews| Index: media/audio/android/audio_manager_android.cc |
| =================================================================== |
| --- media/audio/android/audio_manager_android.cc (revision 206793) |
| +++ media/audio/android/audio_manager_android.cc (working copy) |
| @@ -128,8 +128,7 @@ |
| int frame_size = GetAudioLowLatencyOutputFrameSize(); |
| // Return the optimal size as a multiple of the low latency frame |
|
DaleCurtis
2013/06/17 21:49:53
Also delete this comment and just return GetAudio
wjia(left Chromium)
2013/06/17 22:04:10
Done.
|
| // size that is close to the target frame size. |
| - return ((kDefaultOutputBufferSize + frame_size / 2) / frame_size) * |
| - frame_size; |
| + return frame_size; |
| } else { |
| return std::max(kDefaultOutputBufferSize, |
| Java_AudioManagerAndroid_getMinOutputFrameSize( |