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

Side by Side Diff: media/base/audio_renderer_sink.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_point_unittest.cc ('k') | media/base/audio_splicer.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_BASE_AUDIO_RENDERER_SINK_H_ 5 #ifndef MEDIA_BASE_AUDIO_RENDERER_SINK_H_
6 #define MEDIA_BASE_AUDIO_RENDERER_SINK_H_ 6 #define MEDIA_BASE_AUDIO_RENDERER_SINK_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "media/audio/audio_parameters.h"
15 #include "media/base/audio_bus.h" 14 #include "media/base/audio_bus.h"
15 #include "media/base/audio_parameters.h"
16 #include "media/base/output_device_info.h" 16 #include "media/base/output_device_info.h"
17 #include "url/origin.h" 17 #include "url/origin.h"
18 18
19 namespace media { 19 namespace media {
20 20
21 // AudioRendererSink is an interface representing the end-point for 21 // AudioRendererSink is an interface representing the end-point for
22 // rendered audio. An implementation is expected to 22 // rendered audio. An implementation is expected to
23 // periodically call Render() on a callback object. 23 // periodically call Render() on a callback object.
24 24
25 class AudioRendererSink 25 class AudioRendererSink
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 const url::Origin& security_origin, 96 const url::Origin& security_origin,
97 const OutputDeviceStatusCB& callback) = 0; 97 const OutputDeviceStatusCB& callback) = 0;
98 98
99 protected: 99 protected:
100 ~SwitchableAudioRendererSink() override {} 100 ~SwitchableAudioRendererSink() override {}
101 }; 101 };
102 102
103 } // namespace media 103 } // namespace media
104 104
105 #endif // MEDIA_BASE_AUDIO_RENDERER_SINK_H_ 105 #endif // MEDIA_BASE_AUDIO_RENDERER_SINK_H_
OLDNEW
« no previous file with comments | « media/base/audio_point_unittest.cc ('k') | media/base/audio_splicer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698