| OLD | NEW |
| 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 #ifndef CONTENT_COMMON_MEDIA_AUDIO_MESSAGES_H_ |
| 6 #define CONTENT_COMMON_MEDIA_AUDIO_MESSAGES_H_ |
| 7 |
| 5 // IPC messages for the audio. | 8 // IPC messages for the audio. |
| 6 // Multiply-included message file, hence no include guard. | 9 // Multiply-included message file, hence no include guard. |
| 7 | 10 |
| 8 #include <stdint.h> | 11 #include <stdint.h> |
| 9 | 12 |
| 10 #include <string> | 13 #include <string> |
| 11 | 14 |
| 12 #include "base/memory/shared_memory.h" | 15 #include "base/memory/shared_memory.h" |
| 13 #include "base/sync_socket.h" | 16 #include "base/sync_socket.h" |
| 14 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 // Set audio volume of the stream specified by stream_id. | 131 // Set audio volume of the stream specified by stream_id. |
| 129 // TODO(hclam): change this to vector if we have channel numbers other than 2. | 132 // TODO(hclam): change this to vector if we have channel numbers other than 2. |
| 130 IPC_MESSAGE_CONTROL2(AudioHostMsg_SetVolume, | 133 IPC_MESSAGE_CONTROL2(AudioHostMsg_SetVolume, |
| 131 int /* stream_id */, | 134 int /* stream_id */, |
| 132 double /* volume */) | 135 double /* volume */) |
| 133 | 136 |
| 134 // Set audio volume of the input stream specified by stream_id. | 137 // Set audio volume of the input stream specified by stream_id. |
| 135 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume, | 138 IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume, |
| 136 int /* stream_id */, | 139 int /* stream_id */, |
| 137 double /* volume */) | 140 double /* volume */) |
| 141 |
| 142 #endif // CONTENT_COMMON_MEDIA_AUDIO_MESSAGES_H_ |
| OLD | NEW |