diff --git a/gst/dtmf/gstdtmfsrc.c b/gst/dtmf/gstdtmfsrc.c index 06e27d4435..1ccad697f7 100644 --- a/gst/dtmf/gstdtmfsrc.c +++ b/gst/dtmf/gstdtmfsrc.c @@ -29,25 +29,19 @@ * SECTION:element-dtmfsrc * @short_description: Generates DTMF packets * - * - * - * * The DTMFSrc element generates DTMF (ITU-T Q.23 Specification) tone packets on request * from application. The application communicates the beginning and end of a * DTMF event using custom upstream gstreamer events. To report a DTMF event, an * application must send an event of type GST_EVENT_CUSTOM_UPSTREAM, having a * structure of name "dtmf-event" with fields set according to the following * table: - * * - * * * * * * * - * * * * Name @@ -56,7 +50,6 @@ * Purpose * * - * * * * type @@ -101,14 +94,11 @@ * * * - * * - * For example, the following code informs the pipeline (and in turn, the + * For example, the following code informs the pipeline (and in turn, the * DTMFSrc element inside the pipeline) about the start of a DTMF named * event '1' of volume -25 dBm0: - * * - * * * structure = gst_structure_new ("dtmf-event", * "type", G_TYPE_INT, 1, @@ -119,9 +109,7 @@ * event = gst_event_new_custom (GST_EVENT_CUSTOM_UPSTREAM, structure); * gst_element_send_event (pipeline, event); * - * * - * */ #ifdef HAVE_CONFIG_H diff --git a/gst/dtmf/gstdtmfsrc.h b/gst/dtmf/gstdtmfsrc.h index 73970db155..1d7c5ca0b1 100644 --- a/gst/dtmf/gstdtmfsrc.h +++ b/gst/dtmf/gstdtmfsrc.h @@ -71,6 +71,7 @@ typedef struct _GstDTMFSrcEvent GstDTMFSrcEvent; struct _GstDTMFSrc { + /*< private >*/ GstBaseSrc parent; GAsyncQueue *event_queue; GstDTMFSrcEvent *last_event; diff --git a/gst/dtmf/gstrtpdtmfdepay.h b/gst/dtmf/gstrtpdtmfdepay.h index 1fb8ff7cfb..dfbcc4af07 100644 --- a/gst/dtmf/gstrtpdtmfdepay.h +++ b/gst/dtmf/gstrtpdtmfdepay.h @@ -45,6 +45,7 @@ typedef struct _GstRtpDTMFDepayClass GstRtpDTMFDepayClass; struct _GstRtpDTMFDepay { + /*< private >*/ GstBaseRTPDepayload depayload; double sample; guint32 previous_ts; diff --git a/gst/dtmf/gstrtpdtmfsrc.c b/gst/dtmf/gstrtpdtmfsrc.c index e1d252ba38..fa1841da61 100644 --- a/gst/dtmf/gstrtpdtmfsrc.c +++ b/gst/dtmf/gstrtpdtmfsrc.c @@ -27,25 +27,19 @@ * SECTION:element-rtpdtmfsrc * @short_description: Generates RTP DTMF packets * - * - * - * * The RTPDTMFSrc element generates RTP DTMF (RFC 2833) event packets on request * from application. The application communicates the beginning and end of a * DTMF event using custom upstream gstreamer events. To report a DTMF event, an * application must send an event of type GST_EVENT_CUSTOM_UPSTREAM, having a * structure of name "dtmf-event" with fields set according to the following * table: - * * - * * * * * * * - * * * * Name @@ -54,7 +48,6 @@ * Purpose * * - * * * * type @@ -99,14 +92,11 @@ * * * - * * - * For example, the following code informs the pipeline (and in turn, the + * For example, the following code informs the pipeline (and in turn, the * RTPDTMFSrc element inside the pipeline) about the start of an RTP DTMF named * event '1' of volume -25 dBm0: - * * - * * * structure = gst_structure_new ("dtmf-event", * "type", G_TYPE_INT, 1, @@ -117,9 +107,7 @@ * event = gst_event_new_custom (GST_EVENT_CUSTOM_UPSTREAM, structure); * gst_element_send_event (pipeline, event); * - * * - * */ #ifdef HAVE_CONFIG_H diff --git a/gst/dtmf/gstrtpdtmfsrc.h b/gst/dtmf/gstrtpdtmfsrc.h index 1b40160f19..b1a483a102 100644 --- a/gst/dtmf/gstrtpdtmfsrc.h +++ b/gst/dtmf/gstrtpdtmfsrc.h @@ -69,6 +69,7 @@ typedef struct _GstRTPDTMFSrcEvent GstRTPDTMFSrcEvent; */ struct _GstRTPDTMFSrc { + /*< private >*/ GstBaseSrc basesrc; GAsyncQueue *event_queue;