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..222f2e69433ce1c9b471f7bacaa1fb157f51d00b 100644 |
| --- a/media/audio/android/audio_manager_android.cc |
| +++ b/media/audio/android/audio_manager_android.cc |
| @@ -85,8 +85,8 @@ AudioParameters AudioManagerAndroid::GetPreferredOutputStreamParameters( |
| const AudioParameters& input_params) { |
| // TODO(xians): figure out the right output sample rate and sample rate to |
|
palmer
2013/04/02 18:01:08
I take it "output sample rate and sample rate" sho
Raymond Toy (Google)
2013/04/02 21:52:21
Yes. I will fix it.
|
| // achieve the best audio performance for Android devices. |
| - static const int kDefaultSampleRate = 16000; |
| - static const int kDefaultBufferSize = 1024; |
| + static const int kDefaultSampleRate = 44100; |
|
palmer
2013/04/02 18:01:08
Does this mean the above TODO(xians) is resolved,
Raymond Toy (Google)
2013/04/02 21:52:21
Still not resolved yet. We need to ask the OS for
|
| + static const int kDefaultBufferSize = 2048; |
| ChannelLayout channel_layout = CHANNEL_LAYOUT_STEREO; |
| int sample_rate = kDefaultSampleRate; |