1 /* RTP muxer element for GStreamer
5 * Copyright (C) <2007> Nokia Corporation.
6 * Contact: Zeeshan Ali <zeeshan.ali@nokia.com>
7 * Copyright (C) 1999,2000 Erik Walthinsen <omega@cse.ogi.edu>
8 * 2000,2005 Wim Taymans <wim@fluendo.com>
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Library General Public
12 * License as published by the Free Software Foundation; either
13 * version 2 of the License, or (at your option) any later version.
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 * Library General Public License for more details.
20 * You should have received a copy of the GNU Library General Public
21 * License along with this library; if not, write to the
22 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
23 * Boston, MA 02110-1301, USA.
26 #ifndef __GST_RTP_DTMF_MUX_H__
27 #define __GST_RTP_DTMF_MUX_H__
30 #include "gstrtpmux.h"
33 #define GST_TYPE_RTP_DTMF_MUX (gst_rtp_dtmf_mux_get_type())
34 #define GST_RTP_DTMF_MUX(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_DTMF_MUX, GstRTPDTMFMux))
35 #define GST_RTP_DTMF_MUX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_DTMF_MUX, GstRTPDTMFMux))
36 #define GST_IS_RTP_DTMF_MUX(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_DTMF_MUX))
37 #define GST_IS_RTP_DTMF_MUX_CLASS(obj) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_DTMF_MUX))
38 typedef struct _GstRTPDTMFMux GstRTPDTMFMux;
39 typedef struct _GstRTPDTMFMuxClass GstRTPDTMFMuxClass;
44 * The opaque #GstRTPDTMFMux structure.
50 /* Protected by object lock */
51 GstClockTime last_priority_end;
54 struct _GstRTPDTMFMuxClass
56 GstRTPMuxClass parent_class;
59 void (*locking) (GstElement * element, GstPad * pad);
60 void (*unlocked) (GstElement * element, GstPad * pad);
63 GType gst_rtp_dtmf_mux_get_type (void);
64 gboolean gst_rtp_dtmf_mux_plugin_init (GstPlugin * plugin);
67 #endif /* __GST_RTP_DTMF_MUX_H__ */