Top | ![]() |
![]() |
![]() |
![]() |
gsttunerchannelgsttunerchannel — A channel from an element implementing the GstTuner interface. |
The GstTunerChannel object is provided by an element implementing the GstTuner interface.
GstTunerChannel provides a name and flags to determine the type and capabilities of the channel. If the GST_TUNER_CHANNEL_FREQUENCY flag is set, then the channel also information about the minimum and maximum frequency, and range of the reported signal strength.
struct GstTunerChannel { gchar *label; GstTunerChannelFlags flags; gfloat freq_multiplicator; gulong min_frequency; gulong max_frequency; gint min_signal; gint max_signal; };
gchar * |
A string containing a descriptive name for this channel |
|
GstTunerChannelFlags |
A set of GstTunerChannelFlags for this channel |
|
gfloat |
The step size (in Hz) for the frequency setting. |
|
gulong |
Minimum valid frequency setting (in Hz). |
|
gulong |
Maximum valid frequency setting (in Hz). |
|
gint |
Minimum reported signal strength value. |
|
gint |
Maximum reported signal strength value. |
An enumeration for flags indicating the available capabilities of a GstTunerChannel.
“frequency-changed”
signalvoid user_function (GstTunerChannel *tunerchannel, gulong frequency, gpointer user_data)
Reports that the current frequency has changed.
tunerchannel |
The GstTunerChannel |
|
frequency |
The new frequency (an unsigned long) |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
“signal-changed”
signalvoid user_function (GstTunerChannel *tunerchannel, gint signal, gpointer user_data)
Reports that the signal strength has changed.
See Also: gst_tuner_signal_strength()
tunerchannel |
The GstTunerChannel |
|
signal |
The new signal strength (an integer) |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last