1 /* GStreamer RTP SBC payloader
2 * BlueZ - Bluetooth protocol stack for Linux
4 * Copyright (C) 2004-2010 Marcel Holtmann <marcel@holtmann.org>
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
23 #include <gst/base/gstadapter.h>
24 #include <gst/rtp/gstrtpbasepayload.h>
25 #include <gst/rtp/gstrtpbuffer.h>
29 #define GST_TYPE_RTP_SBC_PAY \
30 (gst_rtp_sbc_pay_get_type())
31 #define GST_RTP_SBC_PAY(obj) \
32 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_RTP_SBC_PAY,\
34 #define GST_RTP_SBC_PAY_CLASS(klass) \
35 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_RTP_SBC_PAY,\
37 #define GST_IS_RTP_SBC_PAY(obj) \
38 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_RTP_SBC_PAY))
39 #define GST_IS_RTP_SBC_PAY_CLASS(obj) \
40 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_RTP_SBC_PAY))
42 typedef struct _GstRtpSBCPay GstRtpSBCPay;
43 typedef struct _GstRtpSBCPayClass GstRtpSBCPayClass;
45 struct _GstRtpSBCPay {
46 GstRTPBasePayload base;
49 GstClockTime timestamp;
56 struct _GstRtpSBCPayClass {
57 GstRTPBasePayloadClass parent_class;
60 GType gst_rtp_sbc_pay_get_type(void);
62 gboolean gst_rtp_sbc_pay_plugin_init (GstPlugin * plugin);