[AD] [WIN] DirectSound sample looping bugfix |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
Here's a patch that fixes the last "historical" bug of the Windows port: the "DirectSound sample looping isn't right" bug. To see it, use digitest and put two custom loop points then start playing in loop mode. So I've added the custom loop points support to the DirectSound driver; but as this driver uses the very basic built-in DirectSound mixer, the support can't be directly implemented and needs to be put alongside the main sampling code. Moreover, the driver doesn't support backward playing. The patch brings some improvements to MOD players: for example, jgmod now plays perfectly Gillius' stellar.s3m file, whereas it produced some popping noises before. I've also corrected some formatting issues in wdsound.c . -- Eric Botcazou ebotcazou@xxxxxxxxxx
Attachment:
wdsound.zip
Description: Zip compressed data
Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |