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

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

Issue 481193003: Remove AudioBuffersState usage in Chromium (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix audio muter build buster. Created 6 years, 2 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 | « content/browser/renderer_host/media/audio_sync_reader.cc ('k') | media/audio/BUILD.gn » ('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 // 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/shared_memory.h" 9 #include "base/memory/shared_memory.h"
10 #include "base/sync_socket.h" 10 #include "base/sync_socket.h"
11 #include "content/common/content_export.h" 11 #include "content/common/content_export.h"
12 #include "content/common/media/media_param_traits.h" 12 #include "content/common/media/media_param_traits.h"
13 #include "ipc/ipc_message_macros.h" 13 #include "ipc/ipc_message_macros.h"
14 #include "media/audio/audio_buffers_state.h"
15 #include "media/audio/audio_input_ipc.h" 14 #include "media/audio/audio_input_ipc.h"
16 #include "media/audio/audio_output_ipc.h" 15 #include "media/audio/audio_output_ipc.h"
17 #include "media/audio/audio_parameters.h" 16 #include "media/audio/audio_parameters.h"
18 17
19 #undef IPC_MESSAGE_EXPORT 18 #undef IPC_MESSAGE_EXPORT
20 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 19 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
21 #define IPC_MESSAGE_START AudioMsgStart 20 #define IPC_MESSAGE_START AudioMsgStart
22 21
23 IPC_ENUM_TRAITS_MAX_VALUE(media::AudioInputIPCDelegate::State, 22 IPC_ENUM_TRAITS_MAX_VALUE(media::AudioInputIPCDelegate::State,
24 media::AudioInputIPCDelegate::kStateLast) 23 media::AudioInputIPCDelegate::kStateLast)
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 // Set audio volume of the stream specified by stream_id. 122 // Set audio volume of the stream specified by stream_id.
124 // TODO(hclam): change this to vector if we have channel numbers other than 2. 123 // TODO(hclam): change this to vector if we have channel numbers other than 2.
125 IPC_MESSAGE_CONTROL2(AudioHostMsg_SetVolume, 124 IPC_MESSAGE_CONTROL2(AudioHostMsg_SetVolume,
126 int /* stream_id */, 125 int /* stream_id */,
127 double /* volume */) 126 double /* volume */)
128 127
129 // Set audio volume of the input stream specified by stream_id. 128 // Set audio volume of the input stream specified by stream_id.
130 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume, 129 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume,
131 int /* stream_id */, 130 int /* stream_id */,
132 double /* volume */) 131 double /* volume */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/media/audio_sync_reader.cc ('k') | media/audio/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698