1 /* -*- Mode: C; c-basic-offset: 4 -*- */
3 * Copyright (C) 2008 <edward.hervey@collabora.co.uk>
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details.
15 * You should have received a copy of the GNU Library General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
27 #define NO_IMPORT_PYGOBJECT
33 #include <gst/audio/audio.h>
34 #include <gst/audio/gstaudioclock.h>
35 #include <gst/audio/gstaudiofilter.h>
36 #include <gst/audio/gstaudiosink.h>
37 #include <gst/audio/gstaudiosrc.h>
38 #include <gst/audio/gstbaseaudiosink.h>
39 #include <gst/audio/gstbaseaudiosrc.h>
40 #include <gst/audio/multichannel.h>
41 #include "pygstminiobject.h"
42 GST_DEBUG_CATEGORY_EXTERN (pygst_debug);
43 #define GST_CAT_DEFAULT pygst_debug
45 /* Boonky define that allows for backwards compatibility with Python 2.4 */
46 #if PY_VERSION_HEX < 0x02050000
47 #define Py_ssize_t int
53 import gobject.GObject as PyGObject_Type
54 import gst.Object as PyGstObject_Type
55 import gst.Structure as PyGstStructure_Type
56 import gst.Element as PyGstElement_Type
57 import gst.Pad as PyGstPad_Type
58 import gst.Buffer as PyGstBuffer_Type
59 import gst.Message as PyGstMessage_Type
60 import gst.SystemClock as PyGstSystemClock_Type
61 import gst.BaseTransform as PyGstBaseTransform_Type
62 import gst.BaseSink as PyGstBaseSink_Type
63 import gst.Clock as PyGstClock_Type