1
/*
2
 * Copyright (C) 2009-2010 Nokia Corporation
3
 *
4
 * Author: Felipe Contreras <felipe.contreras@nokia.com>
5
 *
6
 * This file may be used under the terms of the GNU Lesser General Public
7
 * License version 2.1, a copy of which is found in LICENSE included in the
8
 * packaging of this file.
9
 */
10
11
#ifndef GST_DSP_DUMMY_H
12
#define GST_DSP_DUMMY_H
13
14
#include <gst/gst.h>
15
16
G_BEGIN_DECLS
17
18
#define GST_DSP_DUMMY(obj) (GstDspDummy *) (obj)
19
#define GST_DSP_DUMMY_TYPE (gst_dsp_dummy_get_type())
20
#define GST_DSP_DUMMY_CLASS(obj) (GstDspDummyClass *) (obj)
21
22
typedef struct _GstDspDummy GstDspDummy;
23
typedef struct _GstDspDummyClass GstDspDummyClass;
24
25
#include "dmm_buffer.h"
26
27
struct _GstDspDummy {
28
	GstElement element;
29
30
	GstPad *sinkpad, *srcpad;
31
32
	int dsp_handle;
33
	void *proc;
34
	struct dsp_node *node;
35
36
	dmm_buffer_t *in_buffer, *out_buffer;
37
	struct dsp_notification *events[3];
38
	unsigned dsp_error;
39
};
40
41
struct _GstDspDummyClass {
42
	GstElementClass parent_class;
43
};
44
45
GType gst_dsp_dummy_get_type(void);
46
47
G_END_DECLS
48
49
#endif /* GST_DSP_DUMMY_H */