AC3 and DTS support

Early version, may not work