Enlightenment CVS committal Author : devilhorns Project : e_modules Module : mixer
Dir : e_modules/mixer Modified Files: alsa_mixer.c Log Message: Allow using "Wave" channel for SL :) =================================================================== RCS file: /cvs/e/e_modules/mixer/alsa_mixer.c,v retrieving revision 1.23 retrieving revision 1.24 diff -u -3 -r1.23 -r1.24 --- alsa_mixer.c 14 Sep 2006 14:14:45 -0000 1.23 +++ alsa_mixer.c 18 Sep 2006 11:03:31 -0000 1.24 @@ -124,7 +124,7 @@ if ((err = snd_mixer_detach(handle, buf)) < 0) { snd_mixer_close(handle); - break; + continue; } if ((err = snd_ctl_open(&control, buf, 0)) < 0) { @@ -154,7 +154,7 @@ card->channels = alsa_card_get_channels(card); return card; } - snd_ctl_close(control); + //snd_ctl_close(control); snd_mixer_close(handle); return NULL; } @@ -235,7 +235,8 @@ name = snd_mixer_selem_id_get_name(sid); if ((!strcmp(name, "Master")) || (!strcmp(name, "PCM")) || - (!strcmp(name, "DAC"))) + (!strcmp(name, "DAC")) || + !(strcmp(name, "Wave"))) { ac = E_NEW(Mixer_Channel, 1); if (!ac) continue; ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs