Update of /cvsroot/alsa/alsa-kernel/include In directory sc8-pr-cvs1:/tmp/cvs-serv27027/include
Modified Files: opl3.h Log Message: Clemens Ladisch <[EMAIL PROTECTED]> This adds support for the mixer and wavetable synthesizer of OPL4 chips. The OPL4 can be used with OPTi 82C928/Mozart, 82C929 and 82C924 cards (82C925 and 82C93x have an integrated OPL3 and don't support an external OPLx chip). The changes in alsa-kernel/.../opti92x-ad1848.c are protected by the USE_OPL4 symbol which is defined in alsa-driver/.../opti92x-ad1848.c. The changes in alsa-kernel/drivers/opl3/*.c involve modifications of the OPL3's mode register which would clear the NEW2 bit (which enables OPL4 registers). Those register writes had been used to restrict the OPL3 to OPL2 compatibility, which IMHO isn't necessary, so I removed them. :) Index: opl3.h =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/include/opl3.h,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- opl3.h 4 Nov 2002 10:05:19 -0000 1.10 +++ opl3.h 24 Mar 2003 10:34:39 -0000 1.11 @@ -230,7 +230,8 @@ #define OPL3_HW_OPL3_FM801 0x0303 /* FM801 */ #define OPL3_HW_OPL3_CS4281 0x0304 /* CS4281 */ #define OPL3_HW_OPL3_PC98 0x0305 /* PC9800 */ -#define OPL3_HW_OPL4 0x0400 +#define OPL3_HW_OPL4 0x0400 /* YMF278B/YMF295 */ +#define OPL3_HW_OPL4_ML 0x0401 /* YMF704/YMF721 */ #define OPL3_HW_MASK 0xff00 #define MAX_OPL2_VOICES 9 ------------------------------------------------------- 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