mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
audiofxbasefirfilter: Add const qualifier to the source data array
This commit is contained in:
parent
061ededa36
commit
742a7c7f50
2 changed files with 2 additions and 2 deletions
|
@ -137,7 +137,7 @@ gst_audio_fx_base_fir_filter_init (GstAudioFXBaseFIRFilter * self,
|
||||||
|
|
||||||
#define DEFINE_PROCESS_FUNC(width,ctype) \
|
#define DEFINE_PROCESS_FUNC(width,ctype) \
|
||||||
static void \
|
static void \
|
||||||
process_##width (GstAudioFXBaseFIRFilter * self, g##ctype * src, g##ctype * dst, guint input_samples) \
|
process_##width (GstAudioFXBaseFIRFilter * self, const g##ctype * src, g##ctype * dst, guint input_samples) \
|
||||||
{ \
|
{ \
|
||||||
gint kernel_length = self->kernel_length; \
|
gint kernel_length = self->kernel_length; \
|
||||||
gint i, j, k, l; \
|
gint i, j, k, l; \
|
||||||
|
|
|
@ -44,7 +44,7 @@ G_BEGIN_DECLS
|
||||||
typedef struct _GstAudioFXBaseFIRFilter GstAudioFXBaseFIRFilter;
|
typedef struct _GstAudioFXBaseFIRFilter GstAudioFXBaseFIRFilter;
|
||||||
typedef struct _GstAudioFXBaseFIRFilterClass GstAudioFXBaseFIRFilterClass;
|
typedef struct _GstAudioFXBaseFIRFilterClass GstAudioFXBaseFIRFilterClass;
|
||||||
|
|
||||||
typedef void (*GstAudioFXBaseFIRFilterProcessFunc) (GstAudioFXBaseFIRFilter *, guint8 *, guint8 *, guint);
|
typedef void (*GstAudioFXBaseFIRFilterProcessFunc) (GstAudioFXBaseFIRFilter *, const guint8 *, guint8 *, guint);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GstAudioFXBaseFIRFilter:
|
* GstAudioFXBaseFIRFilter:
|
||||||
|
|
Loading…
Reference in a new issue