Improve computation of the alsa control device name
commitb3394f4dcec1f707403796615d7bb6f0944183a3
authorNedko Arnaudov <nedko@arnaudov.name>
Sat, 24 Nov 2012 03:08:09 +0000 (24 05:08 +0200)
committerNedko Arnaudov <nedko@arnaudov.name>
Sat, 24 Nov 2012 03:12:35 +0000 (24 05:12 +0200)
treed28f5edd12f6f83f2641491e1b540d8ae78bb5bf
parent6afe197889b141251f7f68d8b76706097c7ebd57
Improve computation of the alsa control device name

We recommend using symbolic names like hw:Live but when subdevices are used
regcomp() was failing to parse them. This changeset improves the algorithm
by using less assumptions.
linux/alsa/JackAlsaDriver.cpp
linux/alsa/alsa_driver.c