mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-09 05:38:58 +00:00
gst-libs/gst/audio/audio.*: Readd the deprecation guards, but preserve compilability.
Original commit message from CVS: * gst-libs/gst/audio/audio.c: * gst-libs/gst/audio/audio.h: Readd the deprecation guards, but preserve compilability.
This commit is contained in:
parent
5861f366a0
commit
28b46c1e5d
3 changed files with 19 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-11-01 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* gst-libs/gst/audio/audio.c:
|
||||||
|
* gst-libs/gst/audio/audio.h:
|
||||||
|
Readd the deprecation guards, but preserve compilability.
|
||||||
|
|
||||||
2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
|
2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
* gst/audioconvert/gstaudioconvert.c: (find_suitable_channel_layout),
|
* gst/audioconvert/gstaudioconvert.c: (find_suitable_channel_layout),
|
||||||
|
|
|
@ -228,6 +228,17 @@ _gst_audio_structure_set_list (GstStructure * structure,
|
||||||
* Deprecated: use gst_structure_set()
|
* Deprecated: use gst_structure_set()
|
||||||
*/
|
*/
|
||||||
#ifndef GST_REMOVE_DEPRECATED
|
#ifndef GST_REMOVE_DEPRECATED
|
||||||
|
#ifdef GST_DISABLE_DEPRECATED
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
GST_AUDIO_FIELD_RATE = (1 << 0),
|
||||||
|
GST_AUDIO_FIELD_CHANNELS = (1 << 1),
|
||||||
|
GST_AUDIO_FIELD_ENDIANNESS = (1 << 2),
|
||||||
|
GST_AUDIO_FIELD_WIDTH = (1 << 3),
|
||||||
|
GST_AUDIO_FIELD_DEPTH = (1 << 4),
|
||||||
|
GST_AUDIO_FIELD_SIGNED = (1 << 5),
|
||||||
|
} GstAudioFieldFlag;
|
||||||
|
#endif /* GST_DISABLE_DEPRECATED */
|
||||||
void
|
void
|
||||||
gst_audio_structure_set_int (GstStructure * structure, GstAudioFieldFlag flag)
|
gst_audio_structure_set_int (GstStructure * structure, GstAudioFieldFlag flag)
|
||||||
{
|
{
|
||||||
|
|
|
@ -135,6 +135,7 @@ gboolean gst_audio_is_buffer_framed (GstPad* pad, GstBuffer* buf);
|
||||||
*
|
*
|
||||||
* Deprecated: use gst_structure_set() directly
|
* Deprecated: use gst_structure_set() directly
|
||||||
*/
|
*/
|
||||||
|
#ifndef GST_DISABLE_DEPRECATED
|
||||||
typedef enum {
|
typedef enum {
|
||||||
GST_AUDIO_FIELD_RATE = (1 << 0),
|
GST_AUDIO_FIELD_RATE = (1 << 0),
|
||||||
GST_AUDIO_FIELD_CHANNELS = (1 << 1),
|
GST_AUDIO_FIELD_CHANNELS = (1 << 1),
|
||||||
|
@ -143,6 +144,7 @@ typedef enum {
|
||||||
GST_AUDIO_FIELD_DEPTH = (1 << 4),
|
GST_AUDIO_FIELD_DEPTH = (1 << 4),
|
||||||
GST_AUDIO_FIELD_SIGNED = (1 << 5),
|
GST_AUDIO_FIELD_SIGNED = (1 << 5),
|
||||||
} GstAudioFieldFlag;
|
} GstAudioFieldFlag;
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef GST_DISABLE_DEPRECATED
|
#ifndef GST_DISABLE_DEPRECATED
|
||||||
void gst_audio_structure_set_int (GstStructure *structure, GstAudioFieldFlag flag);
|
void gst_audio_structure_set_int (GstStructure *structure, GstAudioFieldFlag flag);
|
||||||
|
|
Loading…
Reference in a new issue