conf: refine check for snd_config_is_array

GitHub pull_request - opened github at alsa-project.org
Wed Jun 16 00:07:25 CEST 2021


alsa-project/alsa-lib pull request #158 was opened from ranj063:

Apart from checking the index, also check if the
node is not compound to qualify a config as an array.

For ex:

mixer [
	"mixer1"
]

is an array but

mixer.0 {
	name	"mixer 1"
}

is not an array even though the id is 0.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan at linux.intel.com>

Request URL   : https://github.com/alsa-project/alsa-lib/pull/158
Patch URL     : https://github.com/alsa-project/alsa-lib/pull/158.patch
Repository URL: https://github.com/alsa-project/alsa-lib


More information about the Alsa-devel mailing list