Skip to contentSkip to conversation

conf: refine check for snd_config_is_array

DISCUSSION GitHub pull_request - opened 1 participant 1 message Jun 15, 2021 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

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.

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