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