"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "alsactl/init_parse.c" between
alsa-utils-1.2.5.tar.bz2 and alsa-utils-1.2.5.1.tar.bz2

About: ALSA (Advanced Linux Sound Architecture) - Utilities.

init_parse.c  (alsa-utils-1.2.5.tar.bz2):init_parse.c  (alsa-utils-1.2.5.1.tar.bz2)
skipping to change at line 1754 skipping to change at line 1754
} }
int init(const char *cfgdir, const char *filename, int flags, const char *cardna me) int init(const char *cfgdir, const char *filename, int flags, const char *cardna me)
{ {
struct space *space; struct space *space;
struct snd_card_iterator iter; struct snd_card_iterator iter;
int err = 0, lasterr = 0; int err = 0, lasterr = 0;
sysfs_init(); sysfs_init();
err = snd_card_iterator_sinit(&iter, cardname); err = snd_card_iterator_sinit(&iter, cardname);
if (err < 0)
goto out;
while (snd_card_iterator_next(&iter)) { while (snd_card_iterator_next(&iter)) {
err = snd_card_clean_cfgdir(cfgdir, iter.card); err = snd_card_clean_cfgdir(cfgdir, iter.card);
if (err < 0) { if (err < 0) {
if (lasterr == 0) if (lasterr == 0)
lasterr = err; lasterr = err;
continue; continue;
} }
err = init_ucm(flags, iter.card); err = init_ucm(flags, iter.card);
if (err == 0) if (err == 0)
continue; continue;
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)