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

Side by Side Diff: media/audio/virtual_audio_output_stream.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/virtual_audio_input_stream.h ('k') | media/audio/win/audio_low_latency_input_win.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_VIRTUAL_AUDIO_OUTPUT_STREAM_H_ 5 #ifndef MEDIA_AUDIO_VIRTUAL_AUDIO_OUTPUT_STREAM_H_
6 #define MEDIA_AUDIO_VIRTUAL_AUDIO_OUTPUT_STREAM_H_ 6 #define MEDIA_AUDIO_VIRTUAL_AUDIO_OUTPUT_STREAM_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/threading/thread_checker.h" 10 #include "base/threading/thread_checker.h"
11 #include "media/audio/audio_io.h" 11 #include "media/audio/audio_io.h"
12 #include "media/audio/audio_parameters.h"
13 #include "media/base/audio_converter.h" 12 #include "media/base/audio_converter.h"
13 #include "media/base/audio_parameters.h"
14 14
15 namespace media { 15 namespace media {
16 16
17 class VirtualAudioInputStream; 17 class VirtualAudioInputStream;
18 18
19 // VirtualAudioOutputStream attaches to a VirtualAudioInputStream when Start() 19 // VirtualAudioOutputStream attaches to a VirtualAudioInputStream when Start()
20 // is called and is used as an audio source. VirtualAudioOutputStream also 20 // is called and is used as an audio source. VirtualAudioOutputStream also
21 // implements an interface so it can be used as an input to AudioConverter so 21 // implements an interface so it can be used as an input to AudioConverter so
22 // that we can get audio frames that match the AudioParameters that 22 // that we can get audio frames that match the AudioParameters that
23 // VirtualAudioInputStream expects. 23 // VirtualAudioInputStream expects.
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 double volume_; 62 double volume_;
63 63
64 base::ThreadChecker thread_checker_; 64 base::ThreadChecker thread_checker_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(VirtualAudioOutputStream); 66 DISALLOW_COPY_AND_ASSIGN(VirtualAudioOutputStream);
67 }; 67 };
68 68
69 } // namespace media 69 } // namespace media
70 70
71 #endif // MEDIA_AUDIO_VIRTUAL_AUDIO_OUTPUT_STREAM_H_ 71 #endif // MEDIA_AUDIO_VIRTUAL_AUDIO_OUTPUT_STREAM_H_
OLDNEW
« no previous file with comments | « media/audio/virtual_audio_input_stream.h ('k') | media/audio/win/audio_low_latency_input_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698