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

Gianluigi Tiesi sherpya at netfarm.it
Sun Jun 20 21:45:49 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

- --
Gianluigi Tiesi <sherpya at netfarm.it>
EDP Project Leader
Netfarm S.r.l. - http://www.netfarm.it/
Free Software: http://oss.netfarm.it/

'Two major products have come out of Berkeley; LSD and Unix, I don't believe this to be a coincidence.'
- - Jeremy S. Anderson
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFA1elt3UE5cRfnO04RAv3EAJ41y67KvcPfbqSHcZwczCm/0pdWtwCgvGcq
ztcoo/SFjz5PwFiUUU1mlTM=
=70Sq
-----END PGP SIGNATURE-----




More information about the MPlayer-cygwin mailing list