gst-libs/gst/audio/audio.c: Fix doc comment syntax.
Original commit message from CVS: * gst-libs/gst/audio/audio.c: Fix doc comment syntax. * gst-libs/gst/interfaces/propertyprobe.c: Add more doc-comments and a FIXME: for the signal.
This commit is contained in:
parent
b0e3d44956
commit
26ad0ba982
@ -1,3 +1,11 @@
|
|||||||
|
2008-08-11 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
|
* gst-libs/gst/audio/audio.c:
|
||||||
|
Fix doc comment syntax.
|
||||||
|
|
||||||
|
* gst-libs/gst/interfaces/propertyprobe.c:
|
||||||
|
Add more doc-comments and a FIXME: for the signal.
|
||||||
|
|
||||||
2008-08-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
2008-08-07 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
* ext/ogg/gstoggmux.c: (gst_ogg_mux_sink_event),
|
* ext/ogg/gstoggmux.c: (gst_ogg_mux_sink_event),
|
||||||
|
@ -105,7 +105,7 @@ gst_audio_frame_length (GstPad * pad, GstBuffer * buf)
|
|||||||
* Calculate length in nanoseconds of audio buffer @buf based on capabilities of
|
* Calculate length in nanoseconds of audio buffer @buf based on capabilities of
|
||||||
* @pad.
|
* @pad.
|
||||||
*
|
*
|
||||||
* Return: the length.
|
* Returns: the length.
|
||||||
*/
|
*/
|
||||||
GstClockTime
|
GstClockTime
|
||||||
gst_audio_duration_from_pad_buffer (GstPad * pad, GstBuffer * buf)
|
gst_audio_duration_from_pad_buffer (GstPad * pad, GstBuffer * buf)
|
||||||
|
@ -18,7 +18,15 @@
|
|||||||
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
/**
|
||||||
|
* SECTION:gstpropertyprobe
|
||||||
|
* @short_description: Interface for probing possible property values
|
||||||
|
*
|
||||||
|
* The property probe is a way to autodetect allowed values for a GObject
|
||||||
|
* property. It's primary use is to autodetect device-names in several elements.
|
||||||
|
*
|
||||||
|
* The interface is implemented by many hardware sources and sinks.
|
||||||
|
*/
|
||||||
#ifdef HAVE_CONFIG_H
|
#ifdef HAVE_CONFIG_H
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#endif
|
#endif
|
||||||
@ -69,6 +77,15 @@ gst_property_probe_iface_init (GstPropertyProbeInterface * iface)
|
|||||||
static gboolean initialized = FALSE;
|
static gboolean initialized = FALSE;
|
||||||
|
|
||||||
if (!initialized) {
|
if (!initialized) {
|
||||||
|
/**
|
||||||
|
* GstPropertyProbe::probe-needed
|
||||||
|
* %pspec: #GParamSpec that needs a probe
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
/* FIXME:
|
||||||
|
* what is the purpose of this signal, I can't find any usage of it
|
||||||
|
* according to proto n *.h, it should be g_cclosure_marshal_VOID__PARAM
|
||||||
|
*/
|
||||||
gst_property_probe_signals[SIGNAL_PROBE_NEEDED] =
|
gst_property_probe_signals[SIGNAL_PROBE_NEEDED] =
|
||||||
g_signal_new ("probe-needed", G_TYPE_FROM_CLASS (iface),
|
g_signal_new ("probe-needed", G_TYPE_FROM_CLASS (iface),
|
||||||
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstPropertyProbeInterface,
|
G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GstPropertyProbeInterface,
|
||||||
@ -91,7 +108,6 @@ gst_property_probe_iface_init (GstPropertyProbeInterface * iface)
|
|||||||
* Returns: the list of properties for which probing is supported
|
* Returns: the list of properties for which probing is supported
|
||||||
* by this element.
|
* by this element.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const GList *
|
const GList *
|
||||||
gst_property_probe_get_properties (GstPropertyProbe * probe)
|
gst_property_probe_get_properties (GstPropertyProbe * probe)
|
||||||
{
|
{
|
||||||
@ -107,6 +123,15 @@ gst_property_probe_get_properties (GstPropertyProbe * probe)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gst_property_probe_get_property:
|
||||||
|
* @probe: the #GstPropertyProbe to get the properties for.
|
||||||
|
* @name: name of the property.
|
||||||
|
*
|
||||||
|
* Get #GParamSpec for a property for which probing is supported.
|
||||||
|
*
|
||||||
|
* Returns: the #GParamSpec of %NULL.
|
||||||
|
*/
|
||||||
const GParamSpec *
|
const GParamSpec *
|
||||||
gst_property_probe_get_property (GstPropertyProbe * probe, const gchar * name)
|
gst_property_probe_get_property (GstPropertyProbe * probe, const gchar * name)
|
||||||
{
|
{
|
||||||
@ -127,6 +152,13 @@ gst_property_probe_get_property (GstPropertyProbe * probe, const gchar * name)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* gst_property_probe_probe_property:
|
||||||
|
* @probe: the #GstPropertyProbe to check.
|
||||||
|
* @pspec: #GParamSpec of the property.
|
||||||
|
*
|
||||||
|
* Runs a probe on the property specified by %pspec
|
||||||
|
*/
|
||||||
void
|
void
|
||||||
gst_property_probe_probe_property (GstPropertyProbe * probe,
|
gst_property_probe_probe_property (GstPropertyProbe * probe,
|
||||||
const GParamSpec * pspec)
|
const GParamSpec * pspec)
|
||||||
@ -145,11 +177,10 @@ gst_property_probe_probe_property (GstPropertyProbe * probe,
|
|||||||
/**
|
/**
|
||||||
* gst_property_probe_probe_property_name:
|
* gst_property_probe_probe_property_name:
|
||||||
* @probe: the #GstPropertyProbe to check.
|
* @probe: the #GstPropertyProbe to check.
|
||||||
* @name: name of the property to return.
|
* @name: name of the property.
|
||||||
*
|
*
|
||||||
* Runs a probe on the given property.
|
* Runs a probe on the property specified by %name.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
void
|
void
|
||||||
gst_property_probe_probe_property_name (GstPropertyProbe * probe,
|
gst_property_probe_probe_property_name (GstPropertyProbe * probe,
|
||||||
const gchar * name)
|
const gchar * name)
|
||||||
@ -181,7 +212,6 @@ gst_property_probe_probe_property_name (GstPropertyProbe * probe,
|
|||||||
*
|
*
|
||||||
* Returns: TRUE if the property needs a new probe, FALSE if not.
|
* Returns: TRUE if the property needs a new probe, FALSE if not.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
gst_property_probe_needs_probe (GstPropertyProbe * probe,
|
gst_property_probe_needs_probe (GstPropertyProbe * probe,
|
||||||
const GParamSpec * pspec)
|
const GParamSpec * pspec)
|
||||||
@ -208,7 +238,6 @@ gst_property_probe_needs_probe (GstPropertyProbe * probe,
|
|||||||
*
|
*
|
||||||
* Returns: TRUE if the property needs a new probe, FALSE if not.
|
* Returns: TRUE if the property needs a new probe, FALSE if not.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
gst_property_probe_needs_probe_name (GstPropertyProbe * probe,
|
gst_property_probe_needs_probe_name (GstPropertyProbe * probe,
|
||||||
const gchar * name)
|
const gchar * name)
|
||||||
@ -237,7 +266,6 @@ gst_property_probe_needs_probe_name (GstPropertyProbe * probe,
|
|||||||
*
|
*
|
||||||
* Returns: A list of valid values for the given property.
|
* Returns: A list of valid values for the given property.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
GValueArray *
|
GValueArray *
|
||||||
gst_property_probe_get_values (GstPropertyProbe * probe,
|
gst_property_probe_get_values (GstPropertyProbe * probe,
|
||||||
const GParamSpec * pspec)
|
const GParamSpec * pspec)
|
||||||
@ -264,7 +292,6 @@ gst_property_probe_get_values (GstPropertyProbe * probe,
|
|||||||
*
|
*
|
||||||
* Returns: A list of valid values for the given property.
|
* Returns: A list of valid values for the given property.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
GValueArray *
|
GValueArray *
|
||||||
gst_property_probe_get_values_name (GstPropertyProbe * probe,
|
gst_property_probe_get_values_name (GstPropertyProbe * probe,
|
||||||
const gchar * name)
|
const gchar * name)
|
||||||
@ -294,7 +321,6 @@ gst_property_probe_get_values_name (GstPropertyProbe * probe,
|
|||||||
*
|
*
|
||||||
* Returns: the list of valid values for this property.
|
* Returns: the list of valid values for this property.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
GValueArray *
|
GValueArray *
|
||||||
gst_property_probe_probe_and_get_values (GstPropertyProbe * probe,
|
gst_property_probe_probe_and_get_values (GstPropertyProbe * probe,
|
||||||
const GParamSpec * pspec)
|
const GParamSpec * pspec)
|
||||||
@ -321,7 +347,6 @@ gst_property_probe_probe_and_get_values (GstPropertyProbe * probe,
|
|||||||
*
|
*
|
||||||
* Returns: the list of valid values for this property.
|
* Returns: the list of valid values for this property.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
GValueArray *
|
GValueArray *
|
||||||
gst_property_probe_probe_and_get_values_name (GstPropertyProbe * probe,
|
gst_property_probe_probe_and_get_values_name (GstPropertyProbe * probe,
|
||||||
const gchar * name)
|
const gchar * name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user