[RTNR] Add audio stream layer between sof and RTNR
The audio_stream structure might be different between branches. To maintain the compatibility between branches, a layer between sof and RTNR is added.
Signed-off-by: Ming Jen Tai <email address hidden>
8397711...
by
Guennadi Liakhovetski <email address hidden>
heap: heap_alloc_aligned_cached() returns a cached address
heap_alloc_aligned_cached() is a helper function used to allocate
memory with a cached alias. Therefore its returned pointer should
use the __sparse_cache annotation.
51f6a80...
by
Guennadi Liakhovetski <email address hidden>
cache: add type-casts where cache-manipulation is done
Cache synchronisation and address space conversion functions
explicitly specify the address space for their arguments and return
types. Add forced type-casts to make sure such address space changes
are documented.
mux: Annotate packed for structs that require a predictable layout
struct sof_mux_config and struct mux_stream_data are used to
load binary data from userspace. Add packed attribute to ensure
it has a stable and platform-independent layout.
sizeof(struct mux_stream_data) was PLATFORM_MAX_CHANNELS-dependent.
In particular, if PLATFORM_MAX_CHANNELS < 8 the struct becomes
smaller. However in m4/muxdemux.m4, there is no easy way to supply
ROUTE_MATRIX with a smaller matrix other than 8x8 bits.
This commit pads struct mux_stream_data so it always has the a
platform-independent size: as if PLATFORM_MAX_CHANNELS were 8.
xtensa-build-zephyr.py: add -d option for debug build
Add a new -d option to support SOF debug build. This
option will add CONFIG_DEBUG=y to SOF configuration,
which is aligned with xtensa-build-all.sh script.
The -d option is a shortcut for '-o debug_overlay_path'.
Add -o option for user to specify overlays while
building SOF.
Signed-off-by: Chao Song <email address hidden>
a781886...
by
Seppo Ingalsuo <email address hidden>
Topology: Topology1: Fix mistake in buffer size calculation
Pipeline macro pipe-eq-iir-volume-capture-16khz.m4 misses an
update done to other pipelines. The macro COMP_PERIOD_FRAMES()
gives the correct buffer size in other pipelines.
Without this patch change of pipeline scheduling to 10 ms
from default 1 ms causes pipeline fail to buffer size check.
Signed-off-by: Seppo Ingalsuo <email address hidden>