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

Side by Side Diff: media/audio/clockless_audio_sink.h

Issue 2533273002: media: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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_AUDIO_CLOCKLESS_AUDIO_SINK_H_ 5 #ifndef MEDIA_AUDIO_CLOCKLESS_AUDIO_SINK_H_
6 #define MEDIA_AUDIO_CLOCKLESS_AUDIO_SINK_H_ 6 #define MEDIA_AUDIO_CLOCKLESS_AUDIO_SINK_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "media/base/audio_renderer_sink.h" 13 #include "media/base/audio_renderer_sink.h"
14 14
15 namespace base {
16 class SingleThreadTaskRunner;
17 }
18
19 namespace media { 15 namespace media {
20 class AudioBus;
21 class ClocklessAudioSinkThread; 16 class ClocklessAudioSinkThread;
22 17
23 // Implementation of an AudioRendererSink that consumes the audio as fast as 18 // Implementation of an AudioRendererSink that consumes the audio as fast as
24 // possible. This class does not support multiple Play()/Pause() events. 19 // possible. This class does not support multiple Play()/Pause() events.
25 class MEDIA_EXPORT ClocklessAudioSink 20 class MEDIA_EXPORT ClocklessAudioSink
26 : NON_EXPORTED_BASE(public AudioRendererSink) { 21 : NON_EXPORTED_BASE(public AudioRendererSink) {
27 public: 22 public:
28 ClocklessAudioSink(); 23 ClocklessAudioSink();
29 explicit ClocklessAudioSink(const OutputDeviceInfo& device_info); 24 explicit ClocklessAudioSink(const OutputDeviceInfo& device_info);
30 25
(...skipping 29 matching lines...) Expand all
60 55
61 // Time taken in last set of Render() calls. 56 // Time taken in last set of Render() calls.
62 base::TimeDelta playback_time_; 57 base::TimeDelta playback_time_;
63 58
64 DISALLOW_COPY_AND_ASSIGN(ClocklessAudioSink); 59 DISALLOW_COPY_AND_ASSIGN(ClocklessAudioSink);
65 }; 60 };
66 61
67 } // namespace media 62 } // namespace media
68 63
69 #endif // MEDIA_AUDIO_CLOCKLESS_AUDIO_SINK_H_ 64 #endif // MEDIA_AUDIO_CLOCKLESS_AUDIO_SINK_H_
OLDNEW
« no previous file with comments | « content/browser/media/capture/web_contents_audio_input_stream_unittest.cc ('k') | media/audio/fake_audio_input_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698