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

Side by Side Diff: content/common/media/audio_messages.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
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 11
12 #include "base/memory/shared_memory.h" 12 #include "base/memory/shared_memory.h"
13 #include "base/sync_socket.h" 13 #include "base/sync_socket.h"
14 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
15 #include "content/common/media/media_param_traits.h" 15 #include "content/common/media/media_param_traits.h"
16 #include "ipc/ipc_message_macros.h" 16 #include "ipc/ipc_message_macros.h"
17 #include "media/audio/audio_input_ipc.h" 17 #include "media/audio/audio_input_ipc.h"
18 #include "media/audio/audio_output_ipc.h" 18 #include "media/audio/audio_output_ipc.h"
19 #include "media/audio/audio_parameters.h" 19 #include "media/base/audio_parameters.h"
20 #include "media/gpu/ipc/common/media_param_traits.h" 20 #include "media/gpu/ipc/common/media_param_traits.h"
21 #include "url/origin.h" 21 #include "url/origin.h"
22 22
23 #undef IPC_MESSAGE_EXPORT 23 #undef IPC_MESSAGE_EXPORT
24 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT 24 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT
25 #define IPC_MESSAGE_START AudioMsgStart 25 #define IPC_MESSAGE_START AudioMsgStart
26 26
27 IPC_ENUM_TRAITS_MAX_VALUE(media::AudioInputIPCDelegateState, 27 IPC_ENUM_TRAITS_MAX_VALUE(media::AudioInputIPCDelegateState,
28 media::AUDIO_INPUT_IPC_DELEGATE_STATE_LAST) 28 media::AUDIO_INPUT_IPC_DELEGATE_STATE_LAST)
29 29
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 // Set audio volume of the stream specified by stream_id. 143 // Set audio volume of the stream specified by stream_id.
144 // TODO(hclam): change this to vector if we have channel numbers other than 2. 144 // TODO(hclam): change this to vector if we have channel numbers other than 2.
145 IPC_MESSAGE_CONTROL2(AudioHostMsg_SetVolume, 145 IPC_MESSAGE_CONTROL2(AudioHostMsg_SetVolume,
146 int /* stream_id */, 146 int /* stream_id */,
147 double /* volume */) 147 double /* volume */)
148 148
149 // Set audio volume of the input stream specified by stream_id. 149 // Set audio volume of the input stream specified by stream_id.
150 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume, 150 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume,
151 int /* stream_id */, 151 int /* stream_id */,
152 double /* volume */) 152 double /* volume */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_message_filter.cc ('k') | content/common/media/media_param_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698