Enlightenment CVS committal

Author  : devilhorns
Project : e_modules
Module  : mixer

Dir     : e_modules/mixer


Modified Files:
        alsa_mixer.c e_mod_main.c e_mod_types.h 


Log Message:
Beginnings of mute code for alsa.

===================================================================
RCS file: /cvs/e/e_modules/mixer/alsa_mixer.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -3 -r1.6 -r1.7
--- alsa_mixer.c        11 Sep 2006 14:44:42 -0000      1.6
+++ alsa_mixer.c        11 Sep 2006 15:49:47 -0000      1.7
@@ -420,6 +420,18 @@
    return 1;
 }
 
+int 
+alsa_get_mute(int card_id, int channel_id) 
+{
+   return 0;
+}
+
+int 
+alsa_set_mute(int card_id, int channel_id, int mute) 
+{
+   return 0;
+}
+
 /* Privates */
 static int 
 _alsa_get_hash(const char *name) 
===================================================================
RCS file: /cvs/e/e_modules/mixer/e_mod_main.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -3 -r1.19 -r1.20
--- e_mod_main.c        11 Sep 2006 15:44:29 -0000      1.19
+++ e_mod_main.c        11 Sep 2006 15:49:47 -0000      1.20
@@ -254,6 +254,9 @@
    
    sys->get_volume = alsa_get_volume;
    sys->set_volume = alsa_set_volume;
+   
+   sys->get_mute = alsa_get_mute;
+   sys->set_mute = alsa_set_mute;
    #endif
 }
 
===================================================================
RCS file: /cvs/e/e_modules/mixer/e_mod_types.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_types.h       11 Sep 2006 14:44:42 -0000      1.2
+++ e_mod_types.h       11 Sep 2006 15:49:47 -0000      1.3
@@ -50,7 +50,10 @@
 
    int        (*set_volume)   (int card_id, int channel_id, double vol);
    int        (*get_volume)   (int card_id, int channel_id);
-   
+
+   int        (*get_mute)     (int card_id, int channel_id);
+   int        (*set_mute)     (int card_id, int channel_id, int mute);
+
    void       (*free_cards)   (void *data);
    
    Evas_List *cards;



-------------------------------------------------------------------------
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

Reply via email to