msadp32: Refuse unknown destination format.
ADPCM_FormatSuggest must report NOTPOSSIBLE if the destination format is not supported.
This commit is contained in:
parent
097f3ba7d3
commit
461a428fe6
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue