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

Side by Side Diff: media/audio/pulse/pulse_output.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/pulse_input.h ('k') | media/audio/pulse/pulse_util.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) 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 // Creates an audio output stream based on the PulseAudio asynchronous API; 5 // Creates an audio output stream based on the PulseAudio asynchronous API;
6 // specifically using the pa_threaded_mainloop model. 6 // specifically using the pa_threaded_mainloop model.
7 // 7 //
8 // If the stream is successfully opened, Close() must be called before the 8 // If the stream is successfully opened, Close() must be called before the
9 // stream is deleted as Close() is responsible for ensuring resource cleanup 9 // stream is deleted as Close() is responsible for ensuring resource cleanup
10 // occurs. 10 // occurs.
(...skipping 11 matching lines...) Expand all
22 22
23 #include <pulse/pulseaudio.h> 23 #include <pulse/pulseaudio.h>
24 #include <stddef.h> 24 #include <stddef.h>
25 25
26 #include <string> 26 #include <string>
27 27
28 #include "base/macros.h" 28 #include "base/macros.h"
29 #include "base/memory/scoped_ptr.h" 29 #include "base/memory/scoped_ptr.h"
30 #include "base/threading/thread_checker.h" 30 #include "base/threading/thread_checker.h"
31 #include "media/audio/audio_io.h" 31 #include "media/audio/audio_io.h"
32 #include "media/audio/audio_parameters.h" 32 #include "media/base/audio_parameters.h"
33 33
34 struct pa_context; 34 struct pa_context;
35 struct pa_operation; 35 struct pa_operation;
36 struct pa_stream; 36 struct pa_stream;
37 struct pa_threaded_mainloop; 37 struct pa_threaded_mainloop;
38 38
39 namespace media { 39 namespace media {
40 class AudioManagerBase; 40 class AudioManagerBase;
41 41
42 class PulseAudioOutputStream : public AudioOutputStream { 42 class PulseAudioOutputStream : public AudioOutputStream {
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 scoped_ptr<AudioBus> audio_bus_; 114 scoped_ptr<AudioBus> audio_bus_;
115 115
116 base::ThreadChecker thread_checker_; 116 base::ThreadChecker thread_checker_;
117 117
118 DISALLOW_COPY_AND_ASSIGN(PulseAudioOutputStream); 118 DISALLOW_COPY_AND_ASSIGN(PulseAudioOutputStream);
119 }; 119 };
120 120
121 } // namespace media 121 } // namespace media
122 122
123 #endif // MEDIA_AUDIO_PULSE_PULSE_OUTPUT_H_ 123 #endif // MEDIA_AUDIO_PULSE_PULSE_OUTPUT_H_
OLDNEW
« no previous file with comments | « media/audio/pulse/pulse_input.h ('k') | media/audio/pulse/pulse_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698