Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1071)

Unified Diff: webrtc/modules/audio_processing/audio_processing_impl.cc

Issue 1766103002: Drop 48kHz sample rate support in the APM for ARM architecture (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/audio_processing_impl.cc
diff --git a/webrtc/modules/audio_processing/audio_processing_impl.cc b/webrtc/modules/audio_processing/audio_processing_impl.cc
index dbc04b7cf34f5fedf29b613139ba93a5b8c281fe..2eed2ebc2e7a411b8bace3c265ff1bd155de4931 100644
--- a/webrtc/modules/audio_processing/audio_processing_impl.cc
+++ b/webrtc/modules/audio_processing/audio_processing_impl.cc
@@ -112,8 +112,12 @@ struct AudioProcessingImpl::ApmPrivateSubmodules {
const int AudioProcessing::kNativeSampleRatesHz[] = {
AudioProcessing::kSampleRate8kHz,
AudioProcessing::kSampleRate16kHz,
+#ifdef WEBRTC_ARCH_ARM_FAMILY
+ AudioProcessing::kSampleRate32kHz};
peah-webrtc 2016/03/05 10:56:41 What is the impact of this on current platforms? W
aluebs-webrtc 2016/03/07 11:32:15 What do you mean by "being opened"? If the APM rec
peah-webrtc 2016/03/07 12:50:48 I think I see it now. So this change has nothing t
peah-webrtc 2016/03/07 12:50:48 I have another question about this code. Currently
aluebs-webrtc 2016/03/07 13:02:01 As you say, this would replace the 3-band splittin
peah-webrtc 2016/03/10 07:01:00 Ah, then I see. Then the change is fine.
+#else
AudioProcessing::kSampleRate32kHz,
AudioProcessing::kSampleRate48kHz};
+#endif // WEBRTC_ARCH_ARM_FAMILY
const size_t AudioProcessing::kNumNativeSampleRates =
arraysize(AudioProcessing::kNativeSampleRatesHz);
const int AudioProcessing::kMaxNativeSampleRateHz = AudioProcessing::
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698