1
0
Fork 0

MLK-24255-2 ASoC: SOF: Introduce POST_PROCESS component type

POST_PROCESS component takes care of processing algorithms. For now,
we intend to use this component for decoding/encoding library algorithms
from Cadence.

Current implementation assumes that we will still use ALSA PCM
interface. The heavy part is done on firmware side with the help
of topology files.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Daniel Baluta 2020-08-17 18:48:39 +03:00
parent 5e9390c955
commit 4dffe80591
2 changed files with 4 additions and 0 deletions

View File

@ -38,6 +38,8 @@ enum sof_comp_type {
SOF_COMP_DEMUX,
SOF_COMP_ASRC,
SOF_COMP_DCBLOCK,
SOF_COMP_PP,
/* keep FILEREAD/FILEWRITE as the last ones */
SOF_COMP_FILEREAD = 10000, /**< host test based file IO */
SOF_COMP_FILEWRITE = 10001, /**< host test based file IO */
@ -181,6 +183,7 @@ enum sof_ipc_process_type {
SOF_PROCESS_MUX,
SOF_PROCESS_DEMUX,
SOF_PROCESS_DCBLOCK,
SOF_PROCESS_PP, /** < Post process */
};
/* generic "effect", "codec" or proprietary processing component */

View File

@ -406,6 +406,7 @@ static const struct sof_process_types sof_process[] = {
{"CHAN_SELECTOR", SOF_PROCESS_CHAN_SELECTOR, SOF_COMP_SELECTOR},
{"MUX", SOF_PROCESS_MUX, SOF_COMP_MUX},
{"DEMUX", SOF_PROCESS_DEMUX, SOF_COMP_DEMUX},
{"POST_PROCESS", SOF_PROCESS_PP, SOF_COMP_PP},
};
static enum sof_ipc_process_type find_process(const char *name)