Chromium Code Reviews| Index: media/audio/android/audio_manager_android.cc |
| diff --git a/media/audio/android/audio_manager_android.cc b/media/audio/android/audio_manager_android.cc |
| index e2899186894d38bcbcf0d5a1a21b2d51c4de8aaa..71801cff9597f95c41636a4775da9365f047a53c 100644 |
| --- a/media/audio/android/audio_manager_android.cc |
| +++ b/media/audio/android/audio_manager_android.cc |
| @@ -83,10 +83,10 @@ AudioInputStream* AudioManagerAndroid::MakeLowLatencyInputStream( |
| AudioParameters AudioManagerAndroid::GetPreferredOutputStreamParameters( |
| const AudioParameters& input_params) { |
| - // TODO(xians): figure out the right output sample rate and sample rate to |
| + // TODO(xians): figure out the right output sample rate and buffer size to |
| // achieve the best audio performance for Android devices. |
| - static const int kDefaultSampleRate = 16000; |
| - static const int kDefaultBufferSize = 1024; |
| + static const int kDefaultSampleRate = 44100; |
|
acolwell GONE FROM CHROMIUM
2013/04/04 20:53:52
Is the TODO still relevant now since you are chang
Raymond Toy (Google)
2013/04/04 22:38:05
Yes, it's still relevant. Android API 17 now supp
|
| + static const int kDefaultBufferSize = 2048; |
| ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; |
| int sample_rate = kDefaultSampleRate; |