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

Attachment: mythtv_ac3.12.patch.bz2
Description: Binary data

_______________________________________________
mythtv-dev mailing list
[email protected]
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

Reply via email to