[imaadp32 2/3] fixed adpcm_FormatSuggest
Detlef Riekenberg
wine.dev at web.de
Sat Feb 28 07:27:09 CST 2009
On Fr, 2009-02-27 at 20:07 +0100, Stefano Guidoni wrote:
> case WAVE_FORMAT_IMA_ADPCM:
> - adfs->pwfxDst->nBlockAlign = 1024;
> + init_wfx_ima_adpcm((IMAADPCMWAVEFORMAT*)adfs->pwfxDst);
> /* FIXME: not handling header overhead */
> TRACE("setting spb=%u\n",
> ((IMAADPCMWAVEFORMAT*)adfs->pwfxDst)->wSamplesPerBlock);
> + /* check if result is ok */
> + if (ADPCM_GetFormatIndex(adfs->pwfxDst) == 0xFFFFFFFF) return
> ACMERR_NOTPOSSIBLE;
> break;
While reading the diff, it's visible, that you screw the indention up.
(Mix SPACE and TAB)
--
By by ... Detlef
More information about the wine-devel
mailing list