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

Side by Side Diff: media/audio/fake_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/fake_audio_input_stream.h ('k') | media/audio/fake_audio_worker.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 #ifndef MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_ 5 #ifndef MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_
6 #define MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_ 6 #define MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "media/audio/audio_io.h" 10 #include "media/audio/audio_io.h"
11 #include "media/audio/audio_parameters.h"
12 #include "media/audio/fake_audio_worker.h" 11 #include "media/audio/fake_audio_worker.h"
12 #include "media/base/audio_parameters.h"
13 13
14 namespace media { 14 namespace media {
15 15
16 class AudioManagerBase; 16 class AudioManagerBase;
17 17
18 // A fake implementation of AudioOutputStream. Used for testing and when a real 18 // A fake implementation of AudioOutputStream. Used for testing and when a real
19 // audio output device is unavailable or refusing output (e.g. remote desktop). 19 // audio output device is unavailable or refusing output (e.g. remote desktop).
20 // Callbacks are driven on the AudioManager's message loop. 20 // Callbacks are driven on the AudioManager's message loop.
21 class MEDIA_EXPORT FakeAudioOutputStream : public AudioOutputStream { 21 class MEDIA_EXPORT FakeAudioOutputStream : public AudioOutputStream {
22 public: 22 public:
(...skipping 20 matching lines...) Expand all
43 AudioSourceCallback* callback_; 43 AudioSourceCallback* callback_;
44 FakeAudioWorker fake_worker_; 44 FakeAudioWorker fake_worker_;
45 scoped_ptr<AudioBus> audio_bus_; 45 scoped_ptr<AudioBus> audio_bus_;
46 46
47 DISALLOW_COPY_AND_ASSIGN(FakeAudioOutputStream); 47 DISALLOW_COPY_AND_ASSIGN(FakeAudioOutputStream);
48 }; 48 };
49 49
50 } // namespace media 50 } // namespace media
51 51
52 #endif // MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_ 52 #endif // MEDIA_AUDIO_FAKE_AUDIO_OUTPUT_STREAM_H_
OLDNEW
« no previous file with comments | « media/audio/fake_audio_input_stream.h ('k') | media/audio/fake_audio_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698