Hi all, Hi everyone, I fought with the impressive code of Russell Hayward and John Findlay demonstrating the use of Direct Sound in GFA-Basic. Based largely on Microsoft's C examples for DSShow. I deleted the DSFile () global table because we cannot export such a table in a library. I replaced it with a dynamic allocation based on Malloc () and MRealloc (). I also modified the UDT DSFILEINFO by adding a new UDT (WAVEEXTRAINFO_STRUCT) allowing me to manage 8 duplicated buffers for each wave and thus to be able to play the same sample 8 times simultaneously in cluttering the memory. I also simplified the calling of the functions a lot.
But unfortunaly i dont know how to apply an effect like the WaveOut demo of JMM... ...maybe another day.