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

Side by Side Diff: media/base/audio_hardware_config.h

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
« no previous file with comments | « media/base/audio_converter.h ('k') | media/base/audio_hardware_config_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef MEDIA_BASE_AUDIO_HARDWARE_CONFIG_H_ 5 #ifndef MEDIA_BASE_AUDIO_HARDWARE_CONFIG_H_
6 #define MEDIA_BASE_AUDIO_HARDWARE_CONFIG_H_ 6 #define MEDIA_BASE_AUDIO_HARDWARE_CONFIG_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/synchronization/lock.h" 10 #include "base/synchronization/lock.h"
11 #include "media/audio/audio_parameters.h" 11 #include "media/base/audio_parameters.h"
12 #include "media/base/channel_layout.h" 12 #include "media/base/channel_layout.h"
13 #include "media/base/media_export.h" 13 #include "media/base/media_export.h"
14 14
15 namespace media { 15 namespace media {
16 16
17 // Provides thread safe access to the audio hardware configuration. 17 // Provides thread safe access to the audio hardware configuration.
18 class MEDIA_EXPORT AudioHardwareConfig { 18 class MEDIA_EXPORT AudioHardwareConfig {
19 public: 19 public:
20 AudioHardwareConfig(const media::AudioParameters& input_params, 20 AudioHardwareConfig(const media::AudioParameters& input_params,
21 const media::AudioParameters& output_params); 21 const media::AudioParameters& output_params);
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 mutable base::Lock config_lock_; 54 mutable base::Lock config_lock_;
55 media::AudioParameters input_params_; 55 media::AudioParameters input_params_;
56 media::AudioParameters output_params_; 56 media::AudioParameters output_params_;
57 57
58 DISALLOW_COPY_AND_ASSIGN(AudioHardwareConfig); 58 DISALLOW_COPY_AND_ASSIGN(AudioHardwareConfig);
59 }; 59 };
60 60
61 } // namespace media 61 } // namespace media
62 62
63 #endif // MEDIA_BASE_AUDIO_HARDWARE_CONFIG_H_ 63 #endif // MEDIA_BASE_AUDIO_HARDWARE_CONFIG_H_
OLDNEW
« no previous file with comments | « media/base/audio_converter.h ('k') | media/base/audio_hardware_config_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698