mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
gst/equalizer/gstiirequalizer.c: Don't calculate the filter coefficients for every single buffer but only when it's n...
Original commit message from CVS: * gst/equalizer/gstiirequalizer.c: (update_coefficients): Don't calculate the filter coefficients for every single buffer but only when it's needed. Fixes bug #557260.
This commit is contained in:
parent
97b93f3f2c
commit
3ca3d1de2b
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2008-10-27 Sebastian Dröge <sebastian.droege@collabora.co.uk>
|
||||||
|
|
||||||
|
* gst/equalizer/gstiirequalizer.c: (update_coefficients):
|
||||||
|
Don't calculate the filter coefficients for every single buffer
|
||||||
|
but only when it's needed. Fixes bug #557260.
|
||||||
|
|
||||||
2008-10-26 Jan Schmidt <jan.schmidt@sun.com>
|
2008-10-26 Jan Schmidt <jan.schmidt@sun.com>
|
||||||
|
|
||||||
* configure.ac:
|
* configure.ac:
|
||||||
|
|
|
@ -470,6 +470,7 @@ update_coefficients (GstIirEqualizer * equ)
|
||||||
for (i = 0; i < equ->freq_band_count; i++) {
|
for (i = 0; i < equ->freq_band_count; i++) {
|
||||||
setup_filter (equ, equ->bands[i]);
|
setup_filter (equ, equ->bands[i]);
|
||||||
}
|
}
|
||||||
|
equ->need_new_coefficients = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
Loading…
Reference in a new issue