gstmixertrack

gstmixertrack —

Synopsis


#include <gst/interfaces/mixer.h>


            GstMixerTrack;
enum        GstMixerTrackFlags;
#define     GST_MIXER_TRACK_HAS_FLAG        (channel, flag)

Object Hierarchy


  GObject
   +----GstMixerTrack
         +----GstMixerOptions

Properties


  "flags"                guint                 : Read
  "label"                gchararray            : Read
  "max-volume"           gint                  : Read
  "min-volume"           gint                  : Read
  "num-channels"         gint                  : Read

Signals


"mute-toggled"
            void        user_function      (GstMixerTrack *gstmixertrack,
                                            gboolean       arg1,
                                            gpointer       user_data)          : Run last
"record-toggled"
            void        user_function      (GstMixerTrack *gstmixertrack,
                                            gboolean       arg1,
                                            gpointer       user_data)          : Run last
"volume-changed"
            void        user_function      (GstMixerTrack *gstmixertrack,
                                            gpointer       arg1,
                                            gpointer       user_data)          : Run last

Description

Details

GstMixerTrack

typedef struct _GstMixerTrack GstMixerTrack;


enum GstMixerTrackFlags

typedef enum {
  GST_MIXER_TRACK_INPUT  = (1<<0),
  GST_MIXER_TRACK_OUTPUT = (1<<1),
  GST_MIXER_TRACK_MUTE   = (1<<2),
  GST_MIXER_TRACK_RECORD = (1<<3),
  GST_MIXER_TRACK_MASTER = (1<<4),
  GST_MIXER_TRACK_SOFTWARE = (1<<5)
} GstMixerTrackFlags;


GST_MIXER_TRACK_HAS_FLAG()

#define     GST_MIXER_TRACK_HAS_FLAG(channel, flag)

channel :channel flag :flag
channel :
flag :

Property Details

The "flags" property

  "flags"                guint                 : Read

Flags indicating the type of mixer track.

Default value: 0


The "label" property

  "label"                gchararray            : Read

The label assigned to the track.

Default value: NULL


The "max-volume" property

  "max-volume"           gint                  : Read

The maximum possible volume level.

Default value: 0


The "min-volume" property

  "min-volume"           gint                  : Read

The minimum possible volume level.

Default value: 0


The "num-channels" property

  "num-channels"         gint                  : Read

The number of channels contained within the track.

Allowed values: >= 0

Default value: 0

Signal Details

The "mute-toggled" signal

void        user_function                  (GstMixerTrack *gstmixertrack,
                                            gboolean       arg1,
                                            gpointer       user_data)          : Run last

gstmixertrack :gstmixertrackthe object which received the signal. the object which received the signal. arg1 :arg1 user_data :user_datauser data set when the signal handler was connected.user data set when the signal handler was connected.
gstmixertrack : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.

The "record-toggled" signal

void        user_function                  (GstMixerTrack *gstmixertrack,
                                            gboolean       arg1,
                                            gpointer       user_data)          : Run last

gstmixertrack :gstmixertrackthe object which received the signal. the object which received the signal. arg1 :arg1 user_data :user_datauser data set when the signal handler was connected.user data set when the signal handler was connected.
gstmixertrack : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.

The "volume-changed" signal

void        user_function                  (GstMixerTrack *gstmixertrack,
                                            gpointer       arg1,
                                            gpointer       user_data)          : Run last

gstmixertrack :gstmixertrackthe object which received the signal. the object which received the signal. arg1 :arg1 user_data :user_datauser data set when the signal handler was connected.user data set when the signal handler was connected.
gstmixertrack : the object which received the signal.
arg1 :
user_data : user data set when the signal handler was connected.