|
Packit |
8ff292 |
/*
|
|
Packit |
8ff292 |
* GStreamer
|
|
Packit |
8ff292 |
* Copyright (C) 2007-2009 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
|
Packit |
8ff292 |
*
|
|
Packit |
8ff292 |
* This library is free software; you can redistribute it and/or
|
|
Packit |
8ff292 |
* modify it under the terms of the GNU Library General Public
|
|
Packit |
8ff292 |
* License as published by the Free Software Foundation; either
|
|
Packit |
8ff292 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
8ff292 |
*
|
|
Packit |
8ff292 |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
8ff292 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
8ff292 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
8ff292 |
* Library General Public License for more details.
|
|
Packit |
8ff292 |
*
|
|
Packit |
8ff292 |
* You should have received a copy of the GNU Library General Public
|
|
Packit |
8ff292 |
* License along with this library; if not, write to the
|
|
Packit |
8ff292 |
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
|
Packit |
8ff292 |
* Boston, MA 02110-1301, USA.
|
|
Packit |
8ff292 |
*/
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
#ifndef __GST_AUDIO_CHEB_LIMIT_H__
|
|
Packit |
8ff292 |
#define __GST_AUDIO_CHEB_LIMIT_H__
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
#include <gst/gst.h>
|
|
Packit |
8ff292 |
#include <gst/base/gstbasetransform.h>
|
|
Packit |
8ff292 |
#include <gst/audio/audio.h>
|
|
Packit |
8ff292 |
#include <gst/audio/gstaudiofilter.h>
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
#include "audiofxbaseiirfilter.h"
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
G_BEGIN_DECLS
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
#define GST_TYPE_AUDIO_CHEB_LIMIT (gst_audio_cheb_limit_get_type())
|
|
Packit |
8ff292 |
#define GST_AUDIO_CHEB_LIMIT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_AUDIO_CHEB_LIMIT,GstAudioChebLimit))
|
|
Packit |
8ff292 |
#define GST_IS_AUDIO_CHEB_LIMIT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_AUDIO_CHEB_LIMIT))
|
|
Packit |
8ff292 |
#define GST_AUDIO_CHEB_LIMIT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass) ,GST_TYPE_AUDIO_CHEB_LIMIT,GstAudioChebLimitClass))
|
|
Packit |
8ff292 |
#define GST_IS_AUDIO_CHEB_LIMIT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass) ,GST_TYPE_AUDIO_CHEB_LIMIT))
|
|
Packit |
8ff292 |
#define GST_AUDIO_CHEB_LIMIT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj) ,GST_TYPE_AUDIO_CHEB_LIMIT,GstAudioChebLimitClass))
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
typedef struct _GstAudioChebLimit GstAudioChebLimit;
|
|
Packit |
8ff292 |
typedef struct _GstAudioChebLimitClass GstAudioChebLimitClass;
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
struct _GstAudioChebLimit
|
|
Packit |
8ff292 |
{
|
|
Packit |
8ff292 |
GstAudioFXBaseIIRFilter parent;
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
gint mode;
|
|
Packit |
8ff292 |
gint type;
|
|
Packit |
8ff292 |
gint poles;
|
|
Packit |
8ff292 |
gfloat cutoff;
|
|
Packit |
8ff292 |
gfloat ripple;
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
/* < private > */
|
|
Packit |
8ff292 |
GMutex lock;
|
|
Packit |
8ff292 |
};
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
struct _GstAudioChebLimitClass
|
|
Packit |
8ff292 |
{
|
|
Packit |
8ff292 |
GstAudioFXBaseIIRFilterClass parent;
|
|
Packit |
8ff292 |
};
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
GType gst_audio_cheb_limit_get_type (void);
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
G_END_DECLS
|
|
Packit |
8ff292 |
|
|
Packit |
8ff292 |
#endif /* __GST_AUDIO_CHEB_LIMIT_H__ */
|