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

Side by Side Diff: media/filters/audio_renderer_impl.h

Issue 7601002: Revert r95841 due to failing media_unittests on linux_shared bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « media/filters/audio_renderer_base.h ('k') | media/filters/bitstream_converter.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_FILTERS_AUDIO_RENDERER_IMPL_H_ 5 #ifndef MEDIA_FILTERS_AUDIO_RENDERER_IMPL_H_
6 #define MEDIA_FILTERS_AUDIO_RENDERER_IMPL_H_ 6 #define MEDIA_FILTERS_AUDIO_RENDERER_IMPL_H_
7 7
8 // This is the default implementation of AudioRenderer, which uses the audio 8 // This is the default implementation of AudioRenderer, which uses the audio
9 // interfaces to open an audio device. Although it cannot be used in the 9 // interfaces to open an audio device. Although it cannot be used in the
10 // sandbox, it serves as a reference implementation and can be used in other 10 // sandbox, it serves as a reference implementation and can be used in other
11 // applications such as the test player. 11 // applications such as the test player.
12 // 12 //
13 // Note: THIS IS NOT THE AUDIO RENDERER USED IN CHROME. 13 // Note: THIS IS NOT THE AUDIO RENDERER USED IN CHROME.
14 // 14 //
15 // See src/chrome/renderer/media/audio_renderer_impl.h for chrome's 15 // See src/chrome/renderer/media/audio_renderer_impl.h for chrome's
16 // implementation. 16 // implementation.
17 17
18 #include <deque> 18 #include <deque>
19 19
20 #include "media/audio/audio_io.h" 20 #include "media/audio/audio_io.h"
21 #include "media/base/buffers.h" 21 #include "media/base/buffers.h"
22 #include "media/base/filters.h" 22 #include "media/base/filters.h"
23 #include "media/filters/audio_renderer_base.h" 23 #include "media/filters/audio_renderer_base.h"
24 24
25 namespace media { 25 namespace media {
26 26
27 class MEDIA_EXPORT AudioRendererImpl 27 class AudioRendererImpl
28 : public AudioRendererBase, 28 : public AudioRendererBase,
29 public AudioOutputStream::AudioSourceCallback { 29 public AudioOutputStream::AudioSourceCallback {
30 public: 30 public:
31 AudioRendererImpl(); 31 AudioRendererImpl();
32 virtual ~AudioRendererImpl(); 32 virtual ~AudioRendererImpl();
33 33
34 // Filter implementation. 34 // Filter implementation.
35 virtual void SetPlaybackRate(float playback_rate); 35 virtual void SetPlaybackRate(float playback_rate);
36 36
37 // AudioRenderer implementation. 37 // AudioRenderer implementation.
(...skipping 14 matching lines...) Expand all
52 // Audio output stream device. 52 // Audio output stream device.
53 AudioOutputStream* stream_; 53 AudioOutputStream* stream_;
54 int bytes_per_second_; 54 int bytes_per_second_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(AudioRendererImpl); 56 DISALLOW_COPY_AND_ASSIGN(AudioRendererImpl);
57 }; 57 };
58 58
59 } // namespace media 59 } // namespace media
60 60
61 #endif // MEDIA_FILTERS_AUDIO_RENDERER_IMPL_H_ 61 #endif // MEDIA_FILTERS_AUDIO_RENDERER_IMPL_H_
OLDNEW
« no previous file with comments | « media/filters/audio_renderer_base.h ('k') | media/filters/bitstream_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698