From 5ab1474cb5145270084bc8e8df2cacaf1ec42f4d Mon Sep 17 00:00:00 2001 From: Victor Toso Date: Tue, 17 Mar 2020 11:39:36 +0100 Subject: [PATCH] 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 Acked-by: Frediano Ziglio --- spice/enums.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 + 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