Skip to content

Conversation

@singalsu
Copy link
Collaborator

No description provided.

The check needs to be for or, the and condition is never met.
With e.g. num_sinks = 1 the index to function map became -1
that returned an invalid function.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
The issue with __sparse_cache in sinks[] array seems quite
complicated to change so avoiding it with further module API
conversion seems like better approach.

The processing functions in crossover_generic.c are changed to
use struct output_stream_buffer pointer array from module API.

The function crossover_assign_sinks() is changed to pick the
output stream buffers from module API in the order that is
defined in configuration blob.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
@singalsu singalsu marked this pull request as ready for review August 24, 2023 12:47
@singalsu singalsu changed the title Audio: Crossover: MIsc fixes Audio: Crossover: Misc fixes Aug 24, 2023
@cujomalainey
Copy link
Contributor

Sparse errors are for unrelated files. Intel CI appears down. This isn't part of the main build anyways so merging.

@cujomalainey cujomalainey merged commit e887eb0 into thesofproject:main Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants