From: Guenter B. <bar...@st...> - 2001-07-10 22:22:35
|
Hi Michel, hi xine developers, first of all: many thanks to walken for his great work on libac3. The latest version of his code is now included in the xine 0.5 tree. Multichannel support is no longer a quick hack on the xine side but fully supported by the "official" libac3 - nice job :-) libac3 now also supports basic volume support, you can adjust this by editing ac3_level:100 in your .xinerc - the value is given in %. Michel, here is a small bugfix, I think you got the parentheses wrong here: --- parse.c Tue Jul 10 23:44:49 2001 +++ /data/ac3dec/libac3/parse.c Mon Jul 9 13:17:48 2001 @@ -62,8 +62,8 @@ // acmod, dsurmod and lfeon acmod = buf[6] >> 5; - *flags = (((buf[6] & 0xf8) == 0x50) ? AC3_DOLBY : acmod) | - ((buf[6] & lfeon[acmod]) ? AC3_LFE : 0); + *flags = ((((buf[6] & 0xf8) == 0x50) ? AC3_DOLBY : acmod) | + (buf[6] & lfeon[acmod]) ? AC3_LFE : 0); frmsizecod = buf[4] & 63; if (frmsizecod >= 38) Keep up the great work! Guenter -- time is a funny concept |