Stefano Guidoni : msadp32: ADPCM_FormatSuggest compare source format tag with destination format tag.
Module: wine Branch: master Commit: 7fb434838c9830e05ff1ce610c6b822612238575 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7fb434838c9830e05ff1ce610c... Author: Stefano Guidoni <s.guidoni(a)tin.it> Date: Mon Feb 9 22:09:17 2009 +0100 msadp32: ADPCM_FormatSuggest compare source format tag with destination format tag. --- dlls/msadp32.acm/msadp32.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dlls/msadp32.acm/msadp32.c b/dlls/msadp32.acm/msadp32.c index dfb42bf..7a66207 100644 --- a/dlls/msadp32.acm/msadp32.c +++ b/dlls/msadp32.acm/msadp32.c @@ -472,6 +472,7 @@ static LRESULT ADPCM_FormatSuggest(PACMDRVFORMATSUGGEST adfs) /* some tests ... */ if (adfs->cbwfxSrc < sizeof(PCMWAVEFORMAT) || adfs->cbwfxDst < sizeof(PCMWAVEFORMAT) || + adfs->pwfxSrc->wFormatTag == adfs->pwfxDst->wFormatTag || ADPCM_GetFormatIndex(adfs->pwfxSrc) == 0xFFFFFFFF) return ACMERR_NOTPOSSIBLE; /* FIXME: should do those tests against the real size (according to format tag */
participants (1)
-
Alexandre Julliard