Index: media/audio/audio_util.cc |
diff --git a/media/audio/audio_util.cc b/media/audio/audio_util.cc |
index 33739bbd0056417319b57f8269e3120fde011c26..0c8b96c4596799ea63426129ff04f494df220c17 100644 |
--- a/media/audio/audio_util.cc |
+++ b/media/audio/audio_util.cc |
@@ -138,8 +138,6 @@ int GetAudioHardwareSampleRate() { |
// TODO(leozwang): return native sampling rate on Android. |
return 16000; |
#else |
- // Hardware for Linux is nearly always 48KHz. |
- // TODO(crogers) : return correct value in rare non-48KHz cases. |
return 48000; |
#endif |
} |
@@ -157,6 +155,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. |
return 48000; |
#endif |
} |