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

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

Issue 20131: Create AudioRendererHost in BrowserRenderProcessHost and hook with ResourceMessageFilter (Closed)
Patch Set: mac project files Created 11 years, 10 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 | « chrome/test/unit/unit_tests.scons ('k') | media/audio/linux/audio_manager_linux.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_AUDIO_OUTPUT_H_ 5 #ifndef MEDIA_AUDIO_AUDIO_OUTPUT_H_
6 #define MEDIA_AUDIO_AUDIO_OUTPUT_H_ 6 #define MEDIA_AUDIO_AUDIO_OUTPUT_H_
7 7
8 #include "base/basictypes.h"
9
8 // Low-level audio output support. To make sound there are 3 objects involved: 10 // Low-level audio output support. To make sound there are 3 objects involved:
9 // - AudioSource : produces audio samples on a pull model. Implements 11 // - AudioSource : produces audio samples on a pull model. Implements
10 // the AudioSourceCallback interface. 12 // the AudioSourceCallback interface.
11 // - AudioOutputStream : uses the AudioSource to render audio on a given 13 // - AudioOutputStream : uses the AudioSource to render audio on a given
12 // channel, format and sample frequency configuration. Data from the 14 // channel, format and sample frequency configuration. Data from the
13 // AudioSource is delivered in a 'pull' model. 15 // AudioSource is delivered in a 'pull' model.
14 // - AudioManager : factory for the AudioOutputStream objects, manager 16 // - AudioManager : factory for the AudioOutputStream objects, manager
15 // of the hardware resources and mixer control. 17 // of the hardware resources and mixer control.
16 // 18 //
17 // The number and configuration of AudioOutputStream does not need to match the 19 // The number and configuration of AudioOutputStream does not need to match the
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // TODO(cpu): Define threading requirements for interacting with AudioManager. 146 // TODO(cpu): Define threading requirements for interacting with AudioManager.
145 static AudioManager* GetAudioManager(); 147 static AudioManager* GetAudioManager();
146 148
147 protected: 149 protected:
148 virtual ~AudioManager() {} 150 virtual ~AudioManager() {}
149 }; 151 };
150 152
151 153
152 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_H_ 154 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_H_
153 155
OLDNEW
« no previous file with comments | « chrome/test/unit/unit_tests.scons ('k') | media/audio/linux/audio_manager_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698