Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
377df083
Commit
377df083
authored
Jul 24, 2004
by
Laurent Aimar
Browse files
* equalizer : [0] isn't cool, use a define.
parent
58b6fda7
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/audio_filter/equalizer.c
View file @
377df083
...
@@ -91,7 +91,7 @@ vlc_module_end();
...
@@ -91,7 +91,7 @@ vlc_module_end();
/*****************************************************************************
/*****************************************************************************
* Local prototypes
* Local prototypes
*****************************************************************************/
*****************************************************************************/
#define EQZ_BANDS_MAX 10
typedef
struct
aout_filter_sys_t
typedef
struct
aout_filter_sys_t
{
{
/* Filter static config */
/* Filter static config */
...
@@ -210,7 +210,7 @@ typedef struct
...
@@ -210,7 +210,7 @@ typedef struct
float
f_alpha
;
float
f_alpha
;
float
f_beta
;
float
f_beta
;
float
f_gamma
;
float
f_gamma
;
}
band
[
0
];
}
band
[
EQZ_BANDS_MAX
];
}
eqz_config_t
;
}
eqz_config_t
;
...
@@ -253,7 +253,7 @@ typedef struct
...
@@ -253,7 +253,7 @@ typedef struct
char
*
psz_name
;
char
*
psz_name
;
int
i_band
;
int
i_band
;
float
f_preamp
;
float
f_preamp
;
float
f_amp
[
0
];
float
f_amp
[
EQZ_BANDS_MAX
];
}
eqz_preset_t
;
}
eqz_preset_t
;
static
const
eqz_preset_t
eqz_preset_flat_10b
=
static
const
eqz_preset_t
eqz_preset_flat_10b
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment