mirror of https://github.com/thesofproject/sof.git
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:
parent
031fecb3f1
commit
e2265794f6
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue