https://bugs.winehq.org/show_bug.cgi?id=24723
--- Comment #29 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to Bruno Jesus from comment #28)
Andrew, please take a look at the patch from comment 27. Do you think I should move the code into the driver message ACMDM_STREAM_PREPARE? I think so but I didn't find any documentation to backup by sixth sense.
Actually the driver does not receive the information required to check this because the struct is zeroed, from msacm32/stream.c
padsh->fdwPrepared = 0; padsh->dwPrepared = 0; padsh->pbPreparedSrc = 0; padsh->cbPreparedSrcLength = 0; padsh->pbPreparedDst = 0; padsh->cbPreparedDstLength = 0;
ret = MSACM_Message((HACMDRIVER)was->pDrv, ACMDM_STREAM_PREPARE, (LPARAM)&was->drvInst, (LPARAM)padsh);
But maybe this is wrong in the wine side (?)