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)