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

Side by Side Diff: media/audio/audio_output_ipc.h

Issue 10836025: Part 1: Plumb render view ID to render host (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
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 #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/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"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual void FlushStream(int stream_id) = 0; 87 virtual void FlushStream(int stream_id) = 0;
88 88
89 // Closes the audio stream and deletes the matching AudioOutputController 89 // Closes the audio stream and deletes the matching AudioOutputController
90 // instance. Prior to deleting the AudioOutputController object, a call to 90 // instance. Prior to deleting the AudioOutputController object, a call to
91 // AudioOutputController::Close must be made. 91 // AudioOutputController::Close must be made.
92 virtual void CloseStream(int stream_id) = 0; 92 virtual void CloseStream(int stream_id) = 0;
93 93
94 // Sets the volume of the audio stream. 94 // Sets the volume of the audio stream.
95 virtual void SetVolume(int stream_id, double volume) = 0; 95 virtual void SetVolume(int stream_id, double volume) = 0;
96 96
97 protected:
98 virtual ~AudioOutputIPC(); 97 virtual ~AudioOutputIPC();
tommi (sloooow) - chröme 2012/07/31 10:52:41 This changes the concept of the interface a bit.
sail 2012/07/31 22:02:08 Done. Moved destructor. Not sure what documentati
99 }; 98 };
100 99
101 } // namespace media 100 } // namespace media
102 101
103 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_IPC_H_ 102 #endif // MEDIA_AUDIO_AUDIO_OUTPUT_IPC_H_
OLDNEW
« media/audio/audio_output_device_unittest.cc ('K') | « media/audio/audio_output_device_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698