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

Side by Side Diff: content/common/media/audio_messages.h

Issue 11878032: Plumb |input_channels| all the way to AudioManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 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 | Annotate | Revision Log
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 // IPC messages for the audio. 5 // IPC messages for the audio.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 int /* stream id */, 85 int /* stream id */,
86 double /* volume */) 86 double /* volume */)
87 87
88 IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyDeviceStarted, 88 IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyDeviceStarted,
89 int /* stream id */, 89 int /* stream id */,
90 std::string /* device_id */) 90 std::string /* device_id */)
91 91
92 // Messages sent from the renderer to the browser. 92 // Messages sent from the renderer to the browser.
93 93
94 // Request that got sent to browser for creating an audio output stream 94 // Request that got sent to browser for creating an audio output stream
95 IPC_MESSAGE_CONTROL3(AudioHostMsg_CreateStream, 95 IPC_MESSAGE_CONTROL2(AudioHostMsg_CreateStream,
96 int /* stream_id */, 96 int /* stream_id */,
97 media::AudioParameters, /* params */ 97 media::AudioParameters /* params */)
98 int /* input_channels */)
99 98
100 // Request that got sent to browser for creating an audio input stream 99 // Request that got sent to browser for creating an audio input stream
101 IPC_MESSAGE_CONTROL4(AudioInputHostMsg_CreateStream, 100 IPC_MESSAGE_CONTROL4(AudioInputHostMsg_CreateStream,
102 int /* stream_id */, 101 int /* stream_id */,
103 media::AudioParameters /* params */, 102 media::AudioParameters /* params */,
104 std::string /* device_id */, 103 std::string /* device_id */,
105 bool /* automatic_gain_control */) 104 bool /* automatic_gain_control */)
106 105
107 // Indicate that audio for a stream is produced by the specified render view. 106 // Indicate that audio for a stream is produced by the specified render view.
108 IPC_MESSAGE_CONTROL2(AudioHostMsg_AssociateStreamWithProducer, 107 IPC_MESSAGE_CONTROL2(AudioHostMsg_AssociateStreamWithProducer,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 // Set audio volume of the input stream specified by stream_id. 146 // Set audio volume of the input stream specified by stream_id.
148 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume, 147 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume,
149 int /* stream_id */, 148 int /* stream_id */,
150 double /* volume */) 149 double /* volume */)
151 150
152 // Start the device referenced by the session_id for the input stream specified 151 // Start the device referenced by the session_id for the input stream specified
153 // by stream_id. 152 // by stream_id.
154 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_StartDevice, 153 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_StartDevice,
155 int /* stream_id */, 154 int /* stream_id */,
156 int /* session_id */) 155 int /* session_id */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/audio_renderer_host_unittest.cc ('k') | content/common/media/media_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698