mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
audio: rename IS_LE/BE to _IS_LITTLE_ENDIAN/BIG_ENDIAN
This commit is contained in:
parent
36a75bdb71
commit
dc28bd1b63
1 changed files with 11 additions and 11 deletions
|
@ -192,19 +192,19 @@ struct _GstAudioFormatInfo {
|
|||
gpointer padding_p[4];
|
||||
};
|
||||
|
||||
#define GST_AUDIO_FORMAT_INFO_FORMAT(info) ((info)->format)
|
||||
#define GST_AUDIO_FORMAT_INFO_NAME(info) ((info)->name)
|
||||
#define GST_AUDIO_FORMAT_INFO_FLAGS(info) ((info)->flags)
|
||||
#define GST_AUDIO_FORMAT_INFO_FORMAT(info) ((info)->format)
|
||||
#define GST_AUDIO_FORMAT_INFO_NAME(info) ((info)->name)
|
||||
#define GST_AUDIO_FORMAT_INFO_FLAGS(info) ((info)->flags)
|
||||
|
||||
#define GST_AUDIO_FORMAT_INFO_IS_INTEGER(info) !!((info)->flags & GST_AUDIO_FORMAT_FLAG_INTEGER)
|
||||
#define GST_AUDIO_FORMAT_INFO_IS_FLOAT(info) !!((info)->flags & GST_AUDIO_FORMAT_FLAG_FLOAT)
|
||||
#define GST_AUDIO_FORMAT_INFO_IS_SIGNED(info) !!((info)->flags & GST_AUDIO_FORMAT_FLAG_SIGNED)
|
||||
#define GST_AUDIO_FORMAT_INFO_IS_INTEGER(info) !!((info)->flags & GST_AUDIO_FORMAT_FLAG_INTEGER)
|
||||
#define GST_AUDIO_FORMAT_INFO_IS_FLOAT(info) !!((info)->flags & GST_AUDIO_FORMAT_FLAG_FLOAT)
|
||||
#define GST_AUDIO_FORMAT_INFO_IS_SIGNED(info) !!((info)->flags & GST_AUDIO_FORMAT_FLAG_SIGNED)
|
||||
|
||||
#define GST_AUDIO_FORMAT_INFO_ENDIANNESS(info) ((info)->endianness)
|
||||
#define GST_AUDIO_FORMAT_INFO_IS_LE(info) ((info)->endianness == G_LITTLE_ENDIAN)
|
||||
#define GST_AUDIO_FORMAT_INFO_IS_BE(info) ((info)->endianness == G_BIG_ENDIAN)
|
||||
#define GST_AUDIO_FORMAT_INFO_WIDTH(info) ((info)->width)
|
||||
#define GST_AUDIO_FORMAT_INFO_DEPTH(info) ((info)->depth)
|
||||
#define GST_AUDIO_FORMAT_INFO_ENDIANNESS(info) ((info)->endianness)
|
||||
#define GST_AUDIO_FORMAT_INFO_IS_LITTLE_ENDIAN(info) ((info)->endianness == G_LITTLE_ENDIAN)
|
||||
#define GST_AUDIO_FORMAT_INFO_IS_BIG_ENDIAN(info) ((info)->endianness == G_BIG_ENDIAN)
|
||||
#define GST_AUDIO_FORMAT_INFO_WIDTH(info) ((info)->width)
|
||||
#define GST_AUDIO_FORMAT_INFO_DEPTH(info) ((info)->depth)
|
||||
|
||||
const GstAudioFormatInfo * gst_audio_format_get_info (GstAudioFormat format) G_GNUC_CONST;
|
||||
|
||||
|
|
Loading…
Reference in a new issue