[pulseaudio-discuss] [PATCH 2/3] core: Add SRBCHANNEL command names for debug

Peter Meerwald pmeerw at pmeerw.net
Mon Jun 16 16:02:02 PDT 2014


Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
---
 src/pulsecore/pdispatch.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/pulsecore/pdispatch.c b/src/pulsecore/pdispatch.c
index 483ce6b..bbf6de8 100644
--- a/src/pulsecore/pdispatch.c
+++ b/src/pulsecore/pdispatch.c
@@ -192,6 +192,11 @@ static const char *command_names[PA_COMMAND_MAX] = {
 
     /* Supported since protocol v27 (3.0) */
     [PA_COMMAND_SET_PORT_LATENCY_OFFSET] = "SET_PORT_LATENCY_OFFSET",
+
+    /* Supported since protocol v30 (6.0) */
+    /* BOTH DIRECTIONS */
+    [PA_COMMAND_ENABLE_SRBCHANNEL] = "ENABLE_SRBCHANNEL",
+    [PA_COMMAND_DISABLE_SRBCHANNEL] = "DISABLE_SRBCHANNEL",
 };
 
 #endif
-- 
1.9.1



More information about the pulseaudio-discuss mailing list