[Spice-devel] [spice-protocol opus support 1/6 (take 4)] Add support for the Opus codec

Jeremy White jwhite at codeweavers.com
Wed Nov 27 11:32:31 PST 2013


Signed-off-by: Jeremy White <jwhite at codeweavers.com>
---
  spice/enums.h    |    1 +
  spice/protocol.h |    2 ++
  2 files changed, 3 insertions(+)

diff --git a/spice/enums.h b/spice/enums.h
index f192e43..fdcffa8 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -325,6 +325,7 @@ typedef enum SpiceAudioDataMode {
      SPICE_AUDIO_DATA_MODE_INVALID,
      SPICE_AUDIO_DATA_MODE_RAW,
      SPICE_AUDIO_DATA_MODE_CELT_0_5_1,
+    SPICE_AUDIO_DATA_MODE_OPUS,
  
      SPICE_AUDIO_DATA_MODE_ENUM_END
  } SpiceAudioDataMode;
diff --git a/spice/protocol.h b/spice/protocol.h
index e11f384..961a303 100644
--- a/spice/protocol.h
+++ b/spice/protocol.h
@@ -111,11 +111,13 @@ enum {
      SPICE_PLAYBACK_CAP_CELT_0_5_1,
      SPICE_PLAYBACK_CAP_VOLUME,
      SPICE_PLAYBACK_CAP_LATENCY,
+    SPICE_PLAYBACK_CAP_OPUS,
  };
  
  enum {
      SPICE_RECORD_CAP_CELT_0_5_1,
      SPICE_RECORD_CAP_VOLUME,
+    SPICE_RECORD_CAP_OPUS,
  };
  
  enum {
-- 
1.7.10.4



More information about the Spice-devel mailing list