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

Side by Side Diff: media/audio/pulse/pulse_input.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/audio/pulse/audio_manager_pulse.cc ('k') | media/audio/pulse/pulse_output.h » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_AUDIO_PULSE_PULSE_INPUT_H_ 5 #ifndef MEDIA_AUDIO_PULSE_PULSE_INPUT_H_
6 #define MEDIA_AUDIO_PULSE_PULSE_INPUT_H_ 6 #define MEDIA_AUDIO_PULSE_PULSE_INPUT_H_
7 7
8 #include <pulse/pulseaudio.h> 8 #include <pulse/pulseaudio.h>
9 #include <stddef.h> 9 #include <stddef.h>
10 #include <string> 10 #include <string>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/threading/thread_checker.h" 13 #include "base/threading/thread_checker.h"
14 #include "media/audio/agc_audio_stream.h" 14 #include "media/audio/agc_audio_stream.h"
15 #include "media/audio/audio_device_name.h" 15 #include "media/audio/audio_device_name.h"
16 #include "media/audio/audio_io.h" 16 #include "media/audio/audio_io.h"
17 #include "media/audio/audio_parameters.h"
18 #include "media/base/audio_block_fifo.h" 17 #include "media/base/audio_block_fifo.h"
18 #include "media/base/audio_parameters.h"
19 19
20 namespace media { 20 namespace media {
21 21
22 class AudioManagerPulse; 22 class AudioManagerPulse;
23 23
24 class PulseAudioInputStream : public AgcAudioStream<AudioInputStream> { 24 class PulseAudioInputStream : public AgcAudioStream<AudioInputStream> {
25 public: 25 public:
26 PulseAudioInputStream(AudioManagerPulse* audio_manager, 26 PulseAudioInputStream(AudioManagerPulse* audio_manager,
27 const std::string& device_name, 27 const std::string& device_name,
28 const AudioParameters& params, 28 const AudioParameters& params,
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 pa_stream* handle_; 94 pa_stream* handle_;
95 95
96 base::ThreadChecker thread_checker_; 96 base::ThreadChecker thread_checker_;
97 97
98 DISALLOW_COPY_AND_ASSIGN(PulseAudioInputStream); 98 DISALLOW_COPY_AND_ASSIGN(PulseAudioInputStream);
99 }; 99 };
100 100
101 } // namespace media 101 } // namespace media
102 102
103 #endif // MEDIA_AUDIO_PULSE_PULSE_INPUT_H_ 103 #endif // MEDIA_AUDIO_PULSE_PULSE_INPUT_H_
OLDNEW
« no previous file with comments | « media/audio/pulse/audio_manager_pulse.cc ('k') | media/audio/pulse/pulse_output.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698