6fb22d6...
by
Ranjani Sridharan <email address hidden>
topology2: intel: dmic-generic: Simplify the core ID setting
When all components of a pipeline are scheduled on the same core, use
the pipeline's core_id attribute to set the core_id for all the
components in it. Also, remove the default core_id in class definitions
so that it doesn't take priority over the value passed from the pipeline
object.
8038fad...
by
Adrian Warecki <email address hidden>
host: zephyr: Subtract partial_size from dma avail/free size.
When the host component detects use of deep buffering it decreases
frequency of dma reloading. The number of processed data is summed up in
the partial_size variable and they are acknowledged in larger packets.
However, the size of processed data was not subtracted from the number of
available data, which could lead to a buffer underrun/overrun.
Signed-off-by: Adrian Warecki <email address hidden>
40625f0...
by
Peter Ujfalusi <email address hidden>
ipc4: handler: chain_dma: Handle chain free when the chain_dma is not created
Do not treat as error if the chain dma is asked to be destroyed if it has
not been created yet.
The kernel might send such a request under special circumstances:
the PCM is opened, configured but never started/triggered then just closed,
freed.
This is the same way how pipelines are handled, but in case of pipelines
we use the pipe state.
Signed-off-by: Peter Ujfalusi <email address hidden>
Audio: Fix the 24/32 bits format peak volume calculation
Left shift 8 bits the max value to put the valid 24 bits
into high 24 bits in 32 bits container.
Signed-off-by: Andrula Song <email address hidden>
e7fc334...
by
Seppo Ingalsuo <email address hidden>
Tools: Tune: DRC: Changes for Matlab compatibility
This patch enables running example_drc.m script with Matlab.
The endifs are changed to end. And mixed usage of endfunction
and end is corrected to just end. The unnecessary
semicolons from function declarations are deleted.
Signed-off-by: Seppo Ingalsuo <email address hidden>
83a2ae8...
by
Seppo Ingalsuo <email address hidden>
Tools: Tune: DRC: Export configurations for topology2
This patch changes a bit structure of example_drc to export
conveniently several different blobs. The changed script
exports configurations blobs for disabled and enabled mode.
Two functions for IPC4 and topology2 compatibility are
generalized from EQ to common directory. The EQ and other
tools will be updated to later to use the common get_abi()
and tplg2_write() functions.
Signed-off-by: Seppo Ingalsuo <email address hidden>
5ad5da5...
by
Adrian Warecki <email address hidden>
dai: always reload dma ll chain
A problem was observed with launching capture with dmic. Sometimes the host
starts reading data too late, so that the capture buffer becomes full.
In this case, the dma descriptors are not reloaded. This leads to stopping
the dma. When the host starts reading and reads the accumulated data the
stream is already stopped. With this patch, the descriptors are always
reloaded and the stream will not be stopped. A glitch may occur but it is
better than no data at all.
Fixes #7506.
Signed-off-by: Adrian Warecki <email address hidden>
63cba8d...
by
Przemyslaw Blaszkowski <email address hidden>
aria: optimize in/out buffer copy
Current implementation use double for loop, copying separately every
sample between circular and linear buffers. This solution is extremely
slow and for some formats consumes even more than 10 MCPS just for data
preparation.
Replacing for-loops with generic wrapped copy functions.
copier-dai: change function name for better understanding
Change function name from: dai_zephyr_get_hw_params to
dai_common_get_hw_params, due to this name also exist in
dai-legacy.c, need align both legacy and zephyr part to avoid
misunderstanding.