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>
This commit is contained in:
Victor Toso 2020-03-17 11:39:36 +01:00 committed by Frediano Ziglio
parent 896aacee50
commit 5ab1474cb5

View File

@ -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