Commit b5cbb1b
committed
audio: phase vocoder: derive input format from module base_cfg
This patch fixes the issue with the Phase Vocoder module producing
strong rattle with other than s16 format decoded output from compress
decoders such as MP3 and AAC.
The pipeline bind path only propagates the container frame_fmt into the
shared buffer between two modules; it does not populate valid_sample_fmt.
As a result source_get_valid_fmt() on the phase vocoder's input returned
the zero-initialised value (S16_LE), so the wrong processing variant was
selected whenever the topology declared a valid bit depth other than 16.
Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>1 parent 6589967 commit b5cbb1b
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
180 | 187 | | |
181 | 188 | | |
182 | 189 | | |
| |||
0 commit comments