[MPlayer-dev-eng] AC3 passthrough, about ac3 stream bitspersample.
Wei Jiang
jiangw98 at yahoo.com
Fri Nov 21 17:26:20 CET 2003
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
Monkeyhappy.
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
More information about the MPlayer-dev-eng
mailing list