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_OUTPUT_IPC_H_ | 5 #ifndef MEDIA_AUDIO_AUDIO_OUTPUT_IPC_H_ |
6 #define MEDIA_AUDIO_AUDIO_OUTPUT_IPC_H_ | 6 #define MEDIA_AUDIO_AUDIO_OUTPUT_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 // (AudioOutputController) audio state changes and when an AudioOutputController | 16 // (AudioOutputController) audio state changes and when an AudioOutputController |
17 // has been created. Implemented by AudioOutputDevice. | 17 // has been created. Implemented by AudioOutputDevice. |
18 class MEDIA_EXPORT AudioOutputIPCDelegate { | 18 class MEDIA_EXPORT AudioOutputIPCDelegate { |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 // AudioOutputController in the peer process. | 81 // AudioOutputController in the peer process. |
82 virtual void CloseStream() = 0; | 82 virtual void CloseStream() = 0; |
83 | 83 |
84 // Sets the volume of the audio stream. | 84 // Sets the volume of the audio stream. |
85 virtual void SetVolume(double volume) = 0; | 85 virtual void SetVolume(double volume) = 0; |
86 }; | 86 }; |
87 | 87 |
88 } // namespace media | 88 } // namespace media |
89 | 89 |
90 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_IPC_H_ | 90 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_IPC_H_ |
OLD | NEW |