Update of /cvsroot/alsa/alsa-kernel/include
In directory usw-pr-cvs1:/tmp/cvs-serv19385/include

Modified Files:
        mixer_oss.h 
Log Message:
save the current volume values permanently.  in the older version, they
are saved only during the device is opened.

this will fix a problem on xmms to control volumes with 5-bit resolution.



Index: mixer_oss.h
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/include/mixer_oss.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- mixer_oss.h 23 Aug 2002 09:55:27 -0000      1.5
+++ mixer_oss.h 13 Sep 2002 10:23:21 -0000      1.6
@@ -46,6 +46,7 @@
        unsigned long private_value;
        void *private_data;
        void (*private_free)(snd_mixer_oss_slot_t *slot);
+       int volume[2];
 };
 
 struct _snd_oss_mixer {
@@ -65,7 +66,6 @@
 };
 
 struct _snd_oss_file {
-       int volume[32][2];
        snd_card_t *card;
        snd_mixer_oss_t *mixer;
 };



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to