aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorRanjani Sridharan <[email protected]>2023-05-15 13:33:34 +0300
committerMark Brown <[email protected]>2023-05-15 20:12:55 +0900
commit1af13f221ac331e2d493896df5315fb8b211b4aa (patch)
tree6aa0e2f86a4c1b4f79caee1c989fbd41ec1dfe2b /tools/perf/scripts/python/event_analyzing_sample.py
parent35171c1a907cb1226ba190685c38f62ef02bbed8 (diff)
ASoC: SOF: ipc4-topology: Modify the output format selection logic
Modify the output format selection when there are multiple output formats available to choose the one that matches the reference params. The reference params depend on the type of module. In the case of processing modules, the reference params are based on the selected input audio format. This would be the case when a processing module does not perform any format conversion during processing. The only special case is the copier module. The copier module is capable of format conversion but it is only used in the case when the output is fixed to a single format. In the case of a module copier, when there are multiple formats, the reference params is based on the selected input params and the output format must match that of the selected input format. In the case of host copier, the reference params should be based on the input audio format for playback and the FE hw_params for capture. In the case DAI copier, the reference params should be based on the input audio format for capture and the FE hw_params for playback when there is no format conversion in the pipeline from the host to the DAI. Signed-off-by: Ranjani Sridharan <[email protected] Reviewed-by: Bard Liao <[email protected] Reviewed-by: Pierre-Louis Bossart <[email protected] Signed-off-by: Peter Ujfalusi <[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions