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

Unified Diff: content/renderer/media/media_stream_audio_processor.cc

Issue 1110673002: Fix Beamforming not getting enabled on Swanky (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: content/renderer/media/media_stream_audio_processor.cc
diff --git a/content/renderer/media/media_stream_audio_processor.cc b/content/renderer/media/media_stream_audio_processor.cc
index 78237d98c5d7cb308845053dcc57d34fc7371c0d..d22cf5e6ea1c273d76c09d3af821acd9b755c376 100644
--- a/content/renderer/media/media_stream_audio_processor.cc
+++ b/content/renderer/media/media_stream_audio_processor.cc
@@ -537,10 +537,10 @@ void MediaStreamAudioProcessor::ConfigureBeamforming(webrtc::Config* config) {
std::vector<webrtc::Point> geometry(1, webrtc::Point(0.f, 0.f, 0.f));
#if defined(OS_CHROMEOS)
const std::string board = base::SysInfo::GetLsbReleaseBoard();
- if (board == "peach_pi") {
+ if (board.find("peach_pi") != std::string::npos) {
enabled = true;
geometry.push_back(webrtc::Point(0.050f, 0.f, 0.f));
- } else if (board == "swanky") {
+ } else if (board.find("swanky") != std::string::npos) {
enabled = true;
geometry.push_back(webrtc::Point(0.052f, 0.f, 0.f));
}
« 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