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

Unified Diff: dbus/message.h

Issue 1839943003: dbus changes: add SetGlobalOutputChannelRemix support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: additional size_t cast modification Created 4 years, 9 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 | « chromeos/dbus/fake_cras_audio_client.cc ('k') | dbus/message.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dbus/message.h
diff --git a/dbus/message.h b/dbus/message.h
index 7dffe0e0f60965d6de1f5ebf3fb2db7c20811026..b382032c805d32a8cd9f027d681749aa607b372f 100644
--- a/dbus/message.h
+++ b/dbus/message.h
@@ -312,6 +312,9 @@ class CHROME_DBUS_EXPORT MessageWriter {
// function.
void AppendArrayOfBytes(const uint8_t* values, size_t length);
+ // Appends the array of doubles. Used for audio mixer matrix doubles.
+ void AppendArrayOfDoubles(const double* values, size_t length);
+
// Appends the array of strings. Arrays of strings are often used for
// exchanging lists of names hence it's worth having a specialized
// function.
@@ -415,6 +418,9 @@ class CHROME_DBUS_EXPORT MessageReader {
// after the MessageReader is destroyed.
bool PopArrayOfBytes(const uint8_t** bytes, size_t* length);
+ // Gets the array of doubles at the current iterator position.
+ bool PopArrayOfDoubles(const double** doubles, size_t* length);
+
// Gets the array of strings at the current iterator position. |strings| is
// cleared before being modified. Returns true and advances the iterator on
// success.
« no previous file with comments | « chromeos/dbus/fake_cras_audio_client.cc ('k') | dbus/message.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698