mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 01:15:39 +00:00
audio: Add top-surround-left and right channel positions
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8171>
This commit is contained in:
parent
9e3bb0a009
commit
fd91abfc9a
2 changed files with 29 additions and 1 deletions
|
@ -2989,6 +2989,12 @@ channel.</doc>
|
|||
<member name="surround_right" value="27" c:identifier="GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT" glib:nick="surround-right" glib:name="GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/audio/audio-channels.h">Surround right (between rear right and side right)</doc>
|
||||
</member>
|
||||
<member name="top_surround_left" value="28" c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_LEFT" version="1.26" glib:nick="top-surround-left" glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_LEFT">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/audio/audio-channels.h">Top surround left (between rear left and side left).</doc>
|
||||
</member>
|
||||
<member name="top_surround_right" value="29" c:identifier="GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_RIGHT" version="1.26" glib:nick="top-surround-right" glib:name="GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_RIGHT">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/audio/audio-channels.h">Top surround right (between rear right and side right).</doc>
|
||||
</member>
|
||||
</enumeration>
|
||||
<record name="AudioClippingMeta" c:type="GstAudioClippingMeta" version="1.8">
|
||||
<doc xml:space="preserve" filename="../subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiometa.h">Extra buffer metadata describing how much audio has to be clipped from
|
||||
|
|
|
@ -60,6 +60,10 @@ G_BEGIN_DECLS
|
|||
* @GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT: Wide right (between front right and side right)
|
||||
* @GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT: Surround left (between rear left and side left)
|
||||
* @GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT: Surround right (between rear right and side right)
|
||||
* @GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_LEFT: Top surround left (between rear left and side left)
|
||||
* (Since: 1.26)
|
||||
* @GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_RIGHT: Top surround right (between rear right and side right)
|
||||
* (Since: 1.26)
|
||||
* @GST_AUDIO_CHANNEL_POSITION_NONE: used for position-less channels, e.g.
|
||||
* from a sound card that records 1024 channels; mutually exclusive with
|
||||
* any other channel position
|
||||
|
@ -126,7 +130,25 @@ typedef enum {
|
|||
GST_AUDIO_CHANNEL_POSITION_WIDE_LEFT,
|
||||
GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT,
|
||||
GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT,
|
||||
GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT
|
||||
GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT,
|
||||
|
||||
/**
|
||||
* GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_LEFT:
|
||||
*
|
||||
* Top surround left (between rear left and side left).
|
||||
*
|
||||
* Since: 1.26
|
||||
*/
|
||||
GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_LEFT,
|
||||
|
||||
/**
|
||||
* GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_RIGHT:
|
||||
*
|
||||
* Top surround right (between rear right and side right).
|
||||
*
|
||||
* Since: 1.26
|
||||
*/
|
||||
GST_AUDIO_CHANNEL_POSITION_TOP_SURROUND_RIGHT
|
||||
} GstAudioChannelPosition;
|
||||
|
||||
#define GST_AUDIO_CHANNEL_POSITION_MASK(pos) (G_GUINT64_CONSTANT(1)<< GST_AUDIO_CHANNEL_POSITION_ ## pos)
|
||||
|
|
Loading…
Reference in a new issue