Audio: EQ FIR: Change frame align to 2

The FIR processing cores are computing multiple of two frames
sizes so the align constraint can be set to prevent EQ process
to be called with odd frame counts.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
Seppo Ingalsuo 2023-01-19 19:52:13 +02:00 committed by Liam Girdwood
parent 031fecb3f1
commit e2265794f6
1 changed files with 1 additions and 1 deletions

View File

@ -456,7 +456,7 @@ static void eq_fir_set_alignment(struct audio_stream __sparse_cache *source,
struct audio_stream __sparse_cache *sink)
{
const uint32_t byte_align = 1;
const uint32_t frame_align_req = 1;
const uint32_t frame_align_req = 2; /* Process multiples of 2 frames */
audio_stream_init_alignment_constants(byte_align, frame_align_req, source);
audio_stream_init_alignment_constants(byte_align, frame_align_req, sink);