[MPlayer-dev-eng] AC3 passthrough, about ac3 stream bitspersample.

Attila Kinali kinali at gmx.net
Mon Dec 8 11:50:33 CET 2003


On Fri, 21 Nov 2003 08:26:20 -0800 (PST)
Wei Jiang <jiangw98 at yahoo.com> wrote:

> Hi, 
> 
> I am a developer for XBMP, thanks to great work of
> mplayer team, we have a very powerful media engine in
> XBOX.
> 
> My issues is when I testing AC3 passthrough codec
> hwac3, I find the bitspersample actaully retuen a
> value of 8. 
> 
> As current hwac3 codec does is wrap the AC3 stream in
> 16 bits PCM package, this value should be 16.
> 
> The problem for this 8 bps return is it caused wrong
> initial audio delay calculation.
> (Audio Buffer)/output_bps.
> 
> The code is in libao2, afmt.c, I just quto the lines
> that are concerned.
> 
> 	case AFMT_MPEG:
> 	case AFMT_AC3:
> 	default:
> 	    return 8;//default 1 byte

Any comment on this ?


			Attila Kinali

-- 
egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
			-- reeler in +kaosu



More information about the MPlayer-dev-eng mailing list