Chromium Code Reviews| Index: media/audio/audio_util.cc |
| diff --git a/media/audio/audio_util.cc b/media/audio/audio_util.cc |
| index fe7b7ec62039bbd5f535969822d24142a65f7ba7..400a7cf6c0f5984c92331d8a7a2b76c768cf36d7 100644 |
| --- a/media/audio/audio_util.cc |
| +++ b/media/audio/audio_util.cc |
| @@ -137,8 +137,6 @@ int GetAudioHardwareSampleRate() { |
| #elif defined(OS_ANDROID) |
| return 16000; |
| #else |
| - // Hardware for Linux is nearly always 48KHz. |
| - // TODO(crogers) : return correct value in rare non-48KHz cases. |
| return 48000; |
| #endif |
| } |
| @@ -156,6 +154,8 @@ int GetAudioInputHardwareSampleRate(const std::string& device_id) { |
| #elif defined(OS_ANDROID) |
| return 16000; |
| #else |
| + // Hardware for Linux is nearly always 48KHz. |
| + // TODO(crogers) : return correct value in rare non-48KHz cases. |
|
scherkus (not reviewing)
2013/02/14 00:51:35
did you mean to move this comment?
no longer working on chromium
2013/02/14 11:36:07
Yes, but not by this CL, it will be done in a foll
|
| return 48000; |
| #endif |
| } |