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

Side by Side Diff: chrome/browser/media/webrtc/webrtc_browsertest_audio.cc

Issue 2307083002: Cleanup: move WebRTC related files from chrome/browser/media to chrome/browser/media/webrtc/ (Closed)
Patch Set: Removed file wrongly resuscitated during rebase Created 4 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "chrome/browser/media/webrtc_browsertest_audio.h" 5 #include "chrome/browser/media/webrtc/webrtc_browsertest_audio.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 8
9 #include "base/files/file.h" 9 #include "base/files/file.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "media/audio/audio_power_monitor.h" 11 #include "media/audio/audio_power_monitor.h"
12 #include "media/audio/sounds/wav_audio_handler.h" 12 #include "media/audio/sounds/wav_audio_handler.h"
13 #include "media/base/audio_bus.h" 13 #include "media/base/audio_bus.h"
14 #include "media/base/audio_parameters.h" 14 #include "media/base/audio_parameters.h"
15 15
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 media::AudioParameters::AUDIO_PCM_LOW_LATENCY, 70 media::AudioParameters::AUDIO_PCM_LOW_LATENCY,
71 media::GuessChannelLayout(wav_audio_handler->num_channels()), 71 media::GuessChannelLayout(wav_audio_handler->num_channels()),
72 wav_audio_handler->sample_rate(), wav_audio_handler->bits_per_sample(), 72 wav_audio_handler->sample_rate(), wav_audio_handler->bits_per_sample(),
73 wav_audio_handler->total_frames()); 73 wav_audio_handler->total_frames());
74 file_parameters->set_channels_for_discrete(wav_audio_handler->num_channels()); 74 file_parameters->set_channels_for_discrete(wav_audio_handler->num_channels());
75 75
76 return power_monitor.ReadCurrentPowerAndClip().first; 76 return power_monitor.ReadCurrentPowerAndClip().first;
77 } 77 }
78 78
79 } // namespace test 79 } // namespace test
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc/webrtc_browsertest_audio.h ('k') | chrome/browser/media/webrtc/webrtc_browsertest_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698