msadp32: 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:37 -07:00 committed by Alexandre Julliard
parent 097f3ba7d3
commit 461a428fe6
1 changed files with 1 additions and 2 deletions

View File

@ -512,8 +512,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;