4 * Copyright (c) 2000 - 2011 Samsung Electronics Co., Ltd. All rights reserved.
6 * Contact: JongHyuk Choi <jhchoi.choi@samsung.com>
8 * This library is free software; you can redistribute it and/or modify it under
9 * the terms of the GNU Lesser General Public License as published by the
10 * Free Software Foundation; either version 2.1 of the License, or (at your option)
13 * This library is distributed in the hope that it will be useful, but WITHOUT ANY
14 * WARRANTY; without even the implied warranty of MERCHANTABILITY or
15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
16 * License for more details.
18 * You should have received a copy of the GNU Lesser General Public License
19 * along with this library; if not, write to the Free Software Foundation, Inc., 51
20 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
24 #ifndef __GST_AUDIOTP_H__
25 #define __GST_AUDIOTP_H__
33 #define GST_TYPE_AUDIOTP (gst_audiotp_get_type())
34 #define GST_AUDIOTP(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIOTP,Gstaudiotp))
35 #define GST_AUDIOTP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_AUDIOTP,GstaudiotpClass))
36 #define GST_AUDIOTP_GET_CLASS(klass) (G_TYPE_INSTANCE_GET_CLASS((klass),GST_TYPE_AUDIOTP,GstaudiotpClass))
37 #define GST_IS_AUDIOTP(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIOTP))
38 #define GST_IS_AUDIOTP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_AUDIOTP))
39 #define GST_AUDIOTP_CAST(obj) ((Gstaudiotp *)(obj))
41 typedef struct _Gstaudiotp Gstaudiotp;
42 typedef struct _GstaudiotpClass GstaudiotpClass;
49 GQueue *reverse; /* used in reverse trickplay */
52 /* Flag to indicate the new buffer recieved is discountinued in
56 GstClockTime head_prev;
57 GstClockTime tail_prev;
60 struct _GstaudiotpClass
62 GstElementClass parent_class;
65 GType gst_audiotp_get_type (void);
69 #endif /* __GST_AUDIOTP_H__ */