Author: wmb Date: Fri Dec 14 19:23:22 2012 New Revision: 3498 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3498
Log: EDID parser - fixed a bug in the parsing of audio information - it got the format wrong and ignored the number of channels.
Modified: dev/edid.fth
Modified: dev/edid.fth ============================================================================== --- dev/edid.fth Fri Dec 14 15:35:10 2012 (r3497) +++ dev/edid.fth Fri Dec 14 19:23:22 2012 (r3498) @@ -159,7 +159,7 @@ ;
string-array format-names -( 0 ) ," " +( 0 ) ," Reserved0" ( 1 ) ," LPCM" ( 2 ) ," AC-3" ( 3 ) ," MPEG1" @@ -174,12 +174,14 @@ ( 12 ) ," TrueHD" ( 13 ) ," DST" ( 14 ) ," WMA" +( 15 ) ," Format15" end-string-array
: .cea-audio ( offset size -- ) ." Audio: " bounds ?do - i cea@ format-names count type ." ," + i cea@ dup 3 rshift h# f and format-names count type ." ," ( byte ) + 7 and 1+ .d ." channels," i 1+ cea@ .cea-freqs ." @" i 2+ cea@ .cea-bits space 3 +loop
openfirmware@openfirmware.info