[MPlayer-cygwin] [PATCH] [NOSPAM] - Ac3 passthrough ao_win32

Sascha Sommer saschasommer at freenet.de
Sat Jun 26 13:38:15 CEST 2004


> you can use
> wformat.wFormatTag      = (format == AFMT_AC3) ?
> WAVE_FORMAT_DOLBY_AC3_SPDIF : WAVE_FORMAT_PCM; but the problem is if using
> hwac3:
> wBitsPerSample are 8
> and then nBlockAlign is 2
>
> without using hwac3 bps are 16 and blockalign is 4, so I think the problem
> should be elsewhere.
>
> Anyway the correct solution to work should be:
> wFormatTag = WAVE_FORMAT_DOLBY_AC3_SPDIF
> wBitsPerSample = 16
> nBlockAlign = 4
>

Ok, just commited my patch to cvs.
Please test if it still works.

Sascha




More information about the MPlayer-cygwin mailing list