gstaudiochannels

gstaudiochannels

Functions

Types and Values

Includes

#include <gst/audio/audio.h>

Description

Functions

GST_AUDIO_CHANNEL_POSITION_MASK()

#define GST_AUDIO_CHANNEL_POSITION_MASK(pos) (G_GUINT64_CONSTANT(1)<< GST_AUDIO_CHANNEL_POSITION_ ## pos)

gst_audio_channel_positions_to_mask ()

gboolean
gst_audio_channel_positions_to_mask (const GstAudioChannelPosition *position,
                                     gint channels,
                                     gboolean force_order,
                                     guint64 *channel_mask);

gst_audio_channel_positions_from_mask ()

gboolean
gst_audio_channel_positions_from_mask (gint channels,
                                       guint64 channel_mask,
                                       GstAudioChannelPosition *position);

gst_audio_channel_positions_to_valid_order ()

gboolean
gst_audio_channel_positions_to_valid_order
                               (GstAudioChannelPosition *position,
                                gint channels);

gst_audio_channel_get_fallback_mask ()

guint64
gst_audio_channel_get_fallback_mask (gint channels);

gst_audio_check_valid_channel_positions ()

gboolean
gst_audio_check_valid_channel_positions
                               (const GstAudioChannelPosition *position,
                                gint channels,
                                gboolean force_order);

gst_audio_buffer_reorder_channels ()

gboolean
gst_audio_buffer_reorder_channels (GstBuffer *buffer,
                                   GstAudioFormat format,
                                   gint channels,
                                   const GstAudioChannelPosition *from,
                                   const GstAudioChannelPosition *to);

gst_audio_reorder_channels ()

gboolean
gst_audio_reorder_channels (gpointer data,
                            gsize size,
                            GstAudioFormat format,
                            gint channels,
                            const GstAudioChannelPosition *from,
                            const GstAudioChannelPosition *to);

gst_audio_get_channel_reorder_map ()

gboolean
gst_audio_get_channel_reorder_map (gint channels,
                                   const GstAudioChannelPosition *from,
                                   const GstAudioChannelPosition *to,
                                   gint *reorder_map);

gst_audio_channel_positions_to_string ()

gchar *
gst_audio_channel_positions_to_string (const GstAudioChannelPosition *position,
                                       gint channels);

gst_audio_channel_mixer_new ()

GstAudioChannelMixer *
gst_audio_channel_mixer_new (GstAudioChannelMixerFlags flags,
                             GstAudioFormat format,
                             gint in_channels,
                             GstAudioChannelPosition *in_position,
                             gint out_channels,
                             GstAudioChannelPosition *out_position);

gst_audio_channel_mixer_free ()

void
gst_audio_channel_mixer_free (GstAudioChannelMixer *mix);

gst_audio_channel_mixer_is_passthrough ()

gboolean
gst_audio_channel_mixer_is_passthrough
                               (GstAudioChannelMixer *mix);

gst_audio_channel_mixer_samples ()

void
gst_audio_channel_mixer_samples (GstAudioChannelMixer *mix,
                                 const gpointer in[],
                                 gpointer out[],
                                 gint samples);

Types and Values

enum GstAudioChannelPosition

Members

GST_AUDIO_CHANNEL_POSITION_NONE

   

GST_AUDIO_CHANNEL_POSITION_MONO

   

GST_AUDIO_CHANNEL_POSITION_INVALID

   

GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT

   

GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT

   

GST_AUDIO_CHANNEL_POSITION_FRONT_CENTER

   

GST_AUDIO_CHANNEL_POSITION_LFE1

   

GST_AUDIO_CHANNEL_POSITION_REAR_LEFT

   

GST_AUDIO_CHANNEL_POSITION_REAR_RIGHT

   

GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT_OF_CENTER

   

GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT_OF_CENTER

   

GST_AUDIO_CHANNEL_POSITION_REAR_CENTER

   

GST_AUDIO_CHANNEL_POSITION_LFE2

   

GST_AUDIO_CHANNEL_POSITION_SIDE_LEFT

   

GST_AUDIO_CHANNEL_POSITION_SIDE_RIGHT

   

GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_LEFT

   

GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_RIGHT

   

GST_AUDIO_CHANNEL_POSITION_TOP_FRONT_CENTER

   

GST_AUDIO_CHANNEL_POSITION_TOP_CENTER

   

GST_AUDIO_CHANNEL_POSITION_TOP_REAR_LEFT

   

GST_AUDIO_CHANNEL_POSITION_TOP_REAR_RIGHT

   

GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_LEFT

   

GST_AUDIO_CHANNEL_POSITION_TOP_SIDE_RIGHT

   

GST_AUDIO_CHANNEL_POSITION_TOP_REAR_CENTER

   

GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_CENTER

   

GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_LEFT

   

GST_AUDIO_CHANNEL_POSITION_BOTTOM_FRONT_RIGHT

   

GST_AUDIO_CHANNEL_POSITION_WIDE_LEFT

   

GST_AUDIO_CHANNEL_POSITION_WIDE_RIGHT

   

GST_AUDIO_CHANNEL_POSITION_SURROUND_LEFT

   

GST_AUDIO_CHANNEL_POSITION_SURROUND_RIGHT

   

GstAudioChannelMixer

typedef struct _GstAudioChannelMixer GstAudioChannelMixer;

enum GstAudioChannelMixerFlags

Members

GST_AUDIO_CHANNEL_MIXER_FLAGS_NONE

   

GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_IN

   

GST_AUDIO_CHANNEL_MIXER_FLAGS_NON_INTERLEAVED_OUT

   

GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_IN

   

GST_AUDIO_CHANNEL_MIXER_FLAGS_UNPOSITIONED_OUT