summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <me@victortoso.com>2020-03-17 11:39:36 +0100
committerFrediano Ziglio <fziglio@redhat.com>2020-04-07 10:31:57 +0100
commit5ab1474cb5145270084bc8e8df2cacaf1ec42f4d (patch)
tree1d20456a026dcdf02708d7a39e7f3e4441801ecd
parent896aacee5094270b401df3d138a7d03eccdfff32 (diff)
Formally deprecated celt 0.5.1 usage
Quoting git log from spice-common 72b0d60 "build: Disable celt 0.5.1 by default" in 2018-06-05 [0] | build: Disable celt 0.5.1 by default | | This version of the CELT codec has long been obsolete, and | Opus support has been added nearly 5 years ago. It's time | we move on and try to stop using Celt ;) | This commit disables CELT by default, but since | this could be an unexpected change for packagers, if CELT | 0.5.1 development headers are installed, it will error | out unless --enable-celt051/--disable-celt051 has | been explicitly specified. [0] https://gitlab.freedesktop.org/spice/spice-common/commit/72b0d60 This change is part of spice server since f5785db1 or v0.14.1 and spice-gtk e6e9d7a or v0.35. It is time to formally deprecated it and remove from all components in favor of opus mode. Signed-off-by: Victor Toso <victortoso@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--spice/enums.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/spice/enums.h b/spice/enums.h
index 594ab5d..d46491f 100644
--- a/spice/enums.h
+++ b/spice/enums.h
@@ -32,6 +32,8 @@
#ifndef _H_SPICE_ENUMS
#define _H_SPICE_ENUMS
+#include <spice/macros.h>
+
typedef enum SpiceLinkErr {
SPICE_LINK_ERR_OK,
SPICE_LINK_ERR_ERROR,
@@ -369,7 +371,7 @@ typedef enum SpiceCursorFlags {
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_CELT_0_5_1 SPICE_GNUC_DEPRECATED,
SPICE_AUDIO_DATA_MODE_OPUS,
SPICE_AUDIO_DATA_MODE_ENUM_END