16 Feb
2010
16 Feb
'10
12:45 p.m.
<Joerg-Cyril.Hoehle(a)t-systems.com> wrote:
This will allow me to enable one more testcase when I'll eventually submit the long awaited update to mciwave tests.
- if (dwFlags & MCI_WAIT) - { - FIXME("MCI_WAIT not implemented\n"); + if (wmw->hFile == 0) { + FIXME("Save file with zero-length sample\n"); + return MCIERR_INTERNAL; } - WAVE_mciStop(wDevID, 0, NULL); + WAVE_mciStop(wDevID, MCI_WAIT, NULL);
Please don't change the indentation style of the code. Also, it's not clear to me why you have removed the MCI_WAIT fixme, added MCI_WAIT to mciStop, and treat hFile == 0 as a zero-length sample. -- Dmitry.