1 /* GStreamer 2 * 3 * This library is free software; you can redistribute it and/or 4 * modify it under the terms of the GNU Library General Public 5 * License as published by the Free Software Foundation; either 6 * version 2 of the License, or (at your option) any later version. 7 * 8 * This library is distributed in the hope that it will be useful, 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 * Library General Public License for more details. 12 * 13 * You should have received a copy of the GNU Library General Public 14 * License along with this library; if not, write to the 15 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, 16 * Boston, MA 02110-1301, USA. 17 */ 18 19 #ifndef __GST_RTP_G729_DEPAY_H__ 20 #define __GST_RTP_G729_DEPAY_H__ 21 22 #include <gst/gst.h> 23 #include <gst/rtp/gstrtpbasedepayload.h> 24 25 G_BEGIN_DECLS 26 27 #define GST_TYPE_RTP_G729_DEPAY \ 28 (gst_rtp_g729_depay_get_type()) 29 30 #define GST_RTP_G729_DEPAY(obj) \ 31 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_G729_DEPAY,GstRtpG729Depay)) 32 33 #define GST_RTP_G729_DEPAY_CLASS(klass) \ 34 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_G729_DEPAY,GstRtpG729DepayClass)) 35 36 #define GST_IS_RTP_G729_DEPAY(obj) \ 37 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_G729_DEPAY)) 38 39 #define GST_IS_RTP_G729_DEPAY_CLASS(klass) \ 40 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_G729_DEPAY)) 41 42 typedef struct _GstRtpG729Depay GstRtpG729Depay; 43 typedef struct _GstRtpG729DepayClass GstRtpG729DepayClass; 44 45 struct _GstRtpG729Depay 46 { 47 GstRTPBaseDepayload depayload; 48 }; 49 50 struct _GstRtpG729DepayClass 51 { 52 GstRTPBaseDepayloadClass parent_class; 53 }; 54 55 GType gst_rtp_g729_depay_get_type (void); 56 57 gboolean gst_rtp_g729_depay_plugin_init (GstPlugin * plugin); 58 59 G_END_DECLS 60 61 #endif /* __GST_RTP_G729_DEPAY_H__ */ 62