mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
equalizer: Fix stupid off by two bug
This commit is contained in:
parent
9405a328b1
commit
025e26f73a
1 changed files with 1 additions and 1 deletions
|
@ -602,7 +602,7 @@ update_coefficients (GstIirEqualizer * equ)
|
||||||
{
|
{
|
||||||
gint i, n = equ->freq_band_count;
|
gint i, n = equ->freq_band_count;
|
||||||
|
|
||||||
for (i = 1; i < n - 1; i++) {
|
for (i = 0; i < n; i++) {
|
||||||
if (equ->bands[i]->type == BAND_TYPE_PEAK)
|
if (equ->bands[i]->type == BAND_TYPE_PEAK)
|
||||||
setup_peak_filter (equ, equ->bands[i]);
|
setup_peak_filter (equ, equ->bands[i]);
|
||||||
else if (equ->bands[i]->type == BAND_TYPE_LOW_SHELF)
|
else if (equ->bands[i]->type == BAND_TYPE_LOW_SHELF)
|
||||||
|
|
Loading…
Reference in a new issue