Repository navigation
Commit 0e0bb53
committed
audio: eq_iir: ipc3: fix pointer double advance in s32 pass functions
Commit 1061bcd ("audio: eq_iir: switch to source/sink processing
API") changed the circular buffer wrap in eq_iir_s32_s16_pass() and
eq_iir_s32_s24_pass() to use "x + n" and "y + n". These functions
already advance x and y in the copy loop, so the pointers were moved
forward twice per chunk, skipping input and writing output to the
wrong location.
Wrap the already advanced pointers, as was done before the conversion.
Fixes: 1061bcd ("audio: eq_iir: switch to source/sink processing API")
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent 18c17e1 commit 0e0bb53
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
155 | | - | |
| 154 | + | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
| 184 | + | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
0 commit comments