mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-03 09:01:52 -05:00
topology: straight printf and error path fixes
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
5c1cb568ec
commit
e91b1c0670
3 changed files with 15 additions and 13 deletions
|
|
@ -879,9 +879,9 @@ int tplg_save_control_mixer(snd_tplg_t *tplg ATTRIBUTE_UNUSED,
|
|||
if (err >= 0 && mc->max > 0)
|
||||
err = tplg_save_printf(dst, pfx, "\tmax %u\n", mc->max);
|
||||
if (err >= 0 && mc->invert > 0)
|
||||
err = tplg_save_printf(dst, pfx, "\tinvert 1\n", mc->max);
|
||||
err = tplg_save_printf(dst, pfx, "\tinvert 1\n");
|
||||
if (err >= 0 && mc->invert > 0)
|
||||
err = tplg_save_printf(dst, pfx, "\tinvert 1\n", mc->max);
|
||||
err = tplg_save_printf(dst, pfx, "\tinvert 1\n");
|
||||
if (err >= 0)
|
||||
err = tplg_save_ops(tplg, &mc->hdr, dst, pfx2);
|
||||
if (err >= 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue