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

Unified Diff: media/mojo/interfaces/audio_output_stream.mojom

Issue 2821203005: Add a mojo implementation of AudioOutputIPC. (Closed)
Patch Set: Use ScopedClosureRunner. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/audio/audio_output_ipc.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/interfaces/audio_output_stream.mojom
diff --git a/media/mojo/interfaces/audio_output_stream.mojom b/media/mojo/interfaces/audio_output_stream.mojom
index 67926c3def57558f79ca0504f3f9b640ecb4e696..5dccd9d45e149a5699cdf0ff69806ba2e2407b9c 100644
--- a/media/mojo/interfaces/audio_output_stream.mojom
+++ b/media/mojo/interfaces/audio_output_stream.mojom
@@ -25,7 +25,12 @@ interface AudioOutputStream {
interface AudioOutputStreamProvider {
// Creates a new AudioOutputStream using |params|. |shared_buffer| and
// |socket_descriptor| are used to write data to the stream as defined
- // in AudioDeviceThread. Can only be called once.
+ // in AudioDeviceThread. This means:
+ // * |shared_buffer| will be a writable handle to memory of the size needed
+ // by AudioDeviceThread for the specified params.
+ // * |socket_descriptor| is a descriptor from which a
+ // base::CancelableSyncSocket can be constructed.
+ // Can only be called once.
Acquire(AudioOutputStream& output_stream, AudioParameters params)
=> (handle<shared_buffer> shared_buffer, handle socket_descriptor);
};
« no previous file with comments | « media/audio/audio_output_ipc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698