]> git.alsa-project.org Git - alsa-lib.git/commit
topology: Use snd_config_get_bool to simplify boolean flag parsing
authorMengdong Lin <mengdong.lin@linux.intel.com>
Sun, 6 Nov 2016 05:11:04 +0000 (13:11 +0800)
committerTakashi Iwai <tiwai@suse.de>
Tue, 8 Nov 2016 15:33:15 +0000 (16:33 +0100)
commitfc8e5ab4a054ce85f9b8a836ee1d666005f54181
tree43f913dd678235a2604a64b26c95829ff0ba6d6e
parentd170e1ffa17e55d3e58c1be45d3493b8d2e9e633
topology: Use snd_config_get_bool to simplify boolean flag parsing

The link flags in the text conf file are boolean, so this patch uses
snd_config_get_bool() to simplify the code.

Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/topology/pcm.c