mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:25:43 +01:00
pre-process-dapm: fix source and sink for DAPM routes
Switch source and sink widgets in the DAPM route. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
48ebb1dc0c
commit
268f599d24
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ int tplg_build_dapm_route_object(struct tplg_pre_processor *tplg_pp, snd_config_
|
|||
goto err;
|
||||
}
|
||||
|
||||
line_str = tplg_snprintf("%s, %s, %s", src_widget_name, control, sink_widget_name);
|
||||
line_str = tplg_snprintf("%s, %s, %s", sink_widget_name, control, src_widget_name);
|
||||
if (!line_str) {
|
||||
ret = -ENOMEM;
|
||||
goto err;
|
||||
|
|
Loading…
Reference in a new issue