Enlightenment CVS committal

Author  : tsauerbeck
Project : misc
Module  : eplayer

Dir     : misc/eplayer/src/output/alsa


Modified Files:
        alsa.c 


Log Message:
make sure changes made to the mixer levels w/ other applications are reflected in 
eplayer
===================================================================
RCS file: /cvsroot/enlightenment/misc/eplayer/src/output/alsa/alsa.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- alsa.c      30 Nov 2003 11:46:10 -0000      1.5
+++ alsa.c      7 Dec 2003 10:40:25 -0000       1.6
@@ -110,6 +110,11 @@
 int alsa_volume_get(int *left, int *right) {
        assert(master_ctrl);
 
+       /* make sure changes made to the mixer levels w/ other applications
+        * (like alsamixer) are reflected here
+        */
+       snd_mixer_handle_events(mixer);
+
        snd_mixer_selem_get_playback_volume(master_ctrl,
                                            SND_MIXER_SCHN_FRONT_LEFT,
                                            (long *) left);




-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to