mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-30 17:23:53 +01:00
2019-06-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdalsaconfig(8) that caused the device list to be incorrectly sorted.
This commit is contained in:
@@ -183,7 +183,7 @@ void RDAlsa::LoadSystemConfig()
|
||||
if(snd_ctl_pcm_info(snd_ctl,pcm_info)==0) {
|
||||
pcm=0;
|
||||
while(pcm>=0) {
|
||||
pcms.push_back(QString().sprintf("%s [%u]",
|
||||
pcms.push_back(QString().sprintf("%s [%02u]",
|
||||
(const char *)snd_pcm_info_get_name(pcm_info),pcm+1));
|
||||
snd_ctl_pcm_next_device(snd_ctl,&pcm);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user