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 MEDIA_AUDIO_AUDIO_INPUT_IPC_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_INPUT_IPC_H_ |
6 #define MEDIA_AUDIO_AUDIO_INPUT_IPC_H_ | 6 #define MEDIA_AUDIO_AUDIO_INPUT_IPC_H_ |
7 | 7 |
8 #include "base/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/sync_socket.h" | 9 #include "base/sync_socket.h" |
10 #include "media/audio/audio_parameters.h" | 10 #include "media/audio/audio_parameters.h" |
11 #include "media/base/media_export.h" | 11 #include "media/base/media_export.h" |
12 | 12 |
13 namespace media { | 13 namespace media { |
14 | 14 |
15 // Contains IPC notifications for the state of the server side | 15 // Contains IPC notifications for the state of the server side |
16 // (AudioInputController) audio state changes and when an AudioInputController | 16 // (AudioInputController) audio state changes and when an AudioInputController |
17 // has been created. Implemented by AudioInputDevice. | 17 // has been created. Implemented by AudioInputDevice. |
18 class MEDIA_EXPORT AudioInputIPCDelegate { | 18 class MEDIA_EXPORT AudioInputIPCDelegate { |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 virtual void SetVolume(double volume) = 0; | 79 virtual void SetVolume(double volume) = 0; |
80 | 80 |
81 // Closes the audio stream, which should shut down the corresponding | 81 // Closes the audio stream, which should shut down the corresponding |
82 // AudioInputController in the peer process. | 82 // AudioInputController in the peer process. |
83 virtual void CloseStream() = 0; | 83 virtual void CloseStream() = 0; |
84 }; | 84 }; |
85 | 85 |
86 } // namespace media | 86 } // namespace media |
87 | 87 |
88 #endif // MEDIA_AUDIO_AUDIO_INPUT_IPC_H_ | 88 #endif // MEDIA_AUDIO_AUDIO_INPUT_IPC_H_ |
OLD | NEW |