[mythtv] [patch] multichannel ac3 audio v11

Mark Spieth mark at dclabs.com.au
Tue Jan 24 02:53:52 UTC 2006


ok Ive finally found the channel swap problem in ac3. the encoder and 
decoder are not symetric.
dts decoder channels are also not symetric.
what alsa and other 6 channel audio outs require is
L R LS RS C LFE
this is what dts decoder outputs
what AC3/A52 decoder outputs is
(LFE) L C R LS RS
what the AC3 encoder requires is
L C R LS RS LFE
so I have rejigged the decoder and encoder to support the invariant format.
bill this is why your buff+1 patch worked with 1 sample LFE being 
indeterminate every 32ms.
please test as Im not able to until this evening.
next will be mmx support assuming all goes well.
cheers
mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythtv_ac3.12.patch.bz2
Type: application/octet-stream
Size: 16664 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20060124/c955822f/mythtv_ac3.12.patch.obj


More information about the mythtv-dev mailing list