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

Unified Diff: modules/audio_processing/intelligibility/intelligibility_enhancer.cc

Issue 1250663007: Allow webrtc compilation with stlport (Closed) Base URL: https://chromium.googlesource.com/external/webrtc/trunk/webrtc.git@master
Patch Set: Created 5 years, 5 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 | modules/audio_processing/intelligibility/intelligibility_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/audio_processing/intelligibility/intelligibility_enhancer.cc
diff --git a/modules/audio_processing/intelligibility/intelligibility_enhancer.cc b/modules/audio_processing/intelligibility/intelligibility_enhancer.cc
index 1e766875caedc519004077e4a2ebfc1f993c9262..ae5bd0950082cb415eba85fa40030b2ee9bcf87c 100644
--- a/modules/audio_processing/intelligibility/intelligibility_enhancer.cc
+++ b/modules/audio_processing/intelligibility/intelligibility_enhancer.cc
@@ -391,7 +391,7 @@ void IntelligibilityEnhancer::SolveForGainsGivenLambda(float lambda,
void IntelligibilityEnhancer::FilterVariance(const float* var, float* result) {
for (int i = 0; i < bank_size_; ++i) {
- result[i] = DotProduct(filter_bank_[i].data(), var, freqs_);
+ result[i] = DotProduct(&(*filter_bank_[i].begin()), var, freqs_);
jdduke (slow) 2015/07/21 21:23:13 If freqs_ can ever be zero then I'll need to chang
Andrew MacDonald 2015/07/21 22:20:12 I think &filter_bank_[i][0] or &filter_bank[i].fro
jdduke (slow) 2015/07/22 18:07:16 Done.
}
}
« no previous file with comments | « no previous file | modules/audio_processing/intelligibility/intelligibility_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698