summaryrefslogtreecommitdiffstats
path: root/spice
diff options
context:
space:
mode:
authorJeremy White <jwhite@codeweavers.com>2013-11-30 09:18:12 -0600
committerChristophe Fergeau <cfergeau@redhat.com>2014-01-02 12:24:02 +0100
commit2575626fb6c0eb145a11e6d5bf399c80ed207d91 (patch)
treebc8654b950ad39bbd44d51ba2e04ea65cec38379 /spice
parent5ff3fa7080bd08392fc011175657264d57dddcec (diff)
downloadspice-protocol-2575626fb6c0eb145a11e6d5bf399c80ed207d91.tar.gz
spice-protocol-2575626fb6c0eb145a11e6d5bf399c80ed207d91.tar.xz
spice-protocol-2575626fb6c0eb145a11e6d5bf399c80ed207d91.zip
Add support for the Opus codec
Signed-off-by: Jeremy White <jwhite@codeweavers.com>
Diffstat (limited to 'spice')
-rw-r--r--spice/enums.h1
-rw-r--r--spice/protocol.h2
2 files changed, 3 insertions, 0 deletions
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 {