imaadp32: Refuse unknown destination format.

ADPCM_FormatSuggest must report NOTPOSSIBLE if the destination format
is not supported.
This commit is contained in:
William Waghorn 2009-03-17 17:02:44 -07:00 committed by Alexandre Julliard
parent 461a428fe6
commit 1debd88ce3
1 changed files with 1 additions and 2 deletions

View File

@ -697,8 +697,7 @@ static LRESULT ADPCM_FormatSuggest(PACMDRVFORMATSUGGEST adfs)
if (ADPCM_GetFormatIndex(adfs->pwfxDst) == 0xFFFFFFFF) return ACMERR_NOTPOSSIBLE; if (ADPCM_GetFormatIndex(adfs->pwfxDst) == 0xFFFFFFFF) return ACMERR_NOTPOSSIBLE;
break; break;
default: default:
FIXME("\n"); return ACMERR_NOTPOSSIBLE;
break;
} }
return MMSYSERR_NOERROR; return MMSYSERR_NOERROR;