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

Side by Side Diff: chrome/browser/media/webrtc_audio_quality_browsertest.cc

Issue 1907973003: media: Move audio_parameters and audio_point to media/base/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include <ctime> 7 #include <ctime>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_enumerator.h" 10 #include "base/files/file_enumerator.h"
(...skipping 13 matching lines...) Expand all
24 #include "chrome/browser/media/webrtc_browsertest_common.h" 24 #include "chrome/browser/media/webrtc_browsertest_common.h"
25 #include "chrome/browser/profiles/profile.h" 25 #include "chrome/browser/profiles/profile.h"
26 #include "chrome/browser/ui/browser.h" 26 #include "chrome/browser/ui/browser.h"
27 #include "chrome/browser/ui/browser_tabstrip.h" 27 #include "chrome/browser/ui/browser_tabstrip.h"
28 #include "chrome/browser/ui/tabs/tab_strip_model.h" 28 #include "chrome/browser/ui/tabs/tab_strip_model.h"
29 #include "chrome/common/chrome_paths.h" 29 #include "chrome/common/chrome_paths.h"
30 #include "chrome/common/chrome_switches.h" 30 #include "chrome/common/chrome_switches.h"
31 #include "chrome/test/base/ui_test_utils.h" 31 #include "chrome/test/base/ui_test_utils.h"
32 #include "content/public/common/content_switches.h" 32 #include "content/public/common/content_switches.h"
33 #include "content/public/test/browser_test_utils.h" 33 #include "content/public/test/browser_test_utils.h"
34 #include "media/audio/audio_parameters.h" 34 #include "media/base/audio_parameters.h"
35 #include "media/base/media_switches.h" 35 #include "media/base/media_switches.h"
36 #include "net/test/embedded_test_server/embedded_test_server.h" 36 #include "net/test/embedded_test_server/embedded_test_server.h"
37 #include "testing/perf/perf_test.h" 37 #include "testing/perf/perf_test.h"
38 38
39 namespace { 39 namespace {
40 40
41 static const base::FilePath::CharType kReferenceFile[] = 41 static const base::FilePath::CharType kReferenceFile[] =
42 FILE_PATH_LITERAL("speech_44kHz_16bit_stereo.wav"); 42 FILE_PATH_LITERAL("speech_44kHz_16bit_stereo.wav");
43 43
44 // The javascript will load the reference file relative to its location, 44 // The javascript will load the reference file relative to its location,
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after
803 } 803 }
804 804
805 // Since the AGC is off here there should be no gain at all. 805 // Since the AGC is off here there should be no gain at all.
806 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioQualityBrowserTest, 806 IN_PROC_BROWSER_TEST_F(MAYBE_WebRtcAudioQualityBrowserTest,
807 MANUAL_TestAutoGainIsOffWithAudioProcessingOff) { 807 MANUAL_TestAutoGainIsOffWithAudioProcessingOff) {
808 const char* kAudioCallWithoutAudioProcessing = 808 const char* kAudioCallWithoutAudioProcessing =
809 "{audio: { mandatory: { echoCancellation: false } } }"; 809 "{audio: { mandatory: { echoCancellation: false } } }";
810 ASSERT_NO_FATAL_FAILURE(TestAutoGainControl( 810 ASSERT_NO_FATAL_FAILURE(TestAutoGainControl(
811 kReferenceFile, kAudioCallWithoutAudioProcessing, "_no_agc")); 811 kReferenceFile, kAudioCallWithoutAudioProcessing, "_no_agc"));
812 } 812 }
OLDNEW
« no previous file with comments | « chrome/browser/copresence/chrome_whispernet_client_browsertest.cc ('k') | chrome/browser/media/webrtc_browsertest_audio.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698