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

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

Issue 467833002: Remove AudioBuffersState class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 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
« 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // Set audio volume of the stream specified by stream_id. 137 // Set audio volume of the stream specified by stream_id.
139 // TODO(hclam): change this to vector if we have channel numbers other than 2. 138 // TODO(hclam): change this to vector if we have channel numbers other than 2.
140 IPC_MESSAGE_CONTROL2(AudioHostMsg_SetVolume, 139 IPC_MESSAGE_CONTROL2(AudioHostMsg_SetVolume,
141 int /* stream_id */, 140 int /* stream_id */,
142 double /* volume */) 141 double /* volume */)
143 142
144 // Set audio volume of the input stream specified by stream_id. 143 // Set audio volume of the input stream specified by stream_id.
145 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume, 144 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume,
146 int /* stream_id */, 145 int /* stream_id */,
147 double /* volume */) 146 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