Re: Play WAV file in Win10 with Eu 3
- Posted by AndyDrummond Mar 25, 2021
- 1038 views
OK, my machines simply go Ding whatever I try and play. But if I remove SND_ASYNC from the flags sent to the PlaySound Windows function, so the program waits for completion, the delay is just what I would expect, but the sound emitted is still just Ding at the start of that time. So the function is opening the WAV file, reads it and knows how long it should be, and then doesn't play it. The WAV file opens ok in Audacity and it plays there, so the data is OK.
So - back to square one: playSound() won't play a WAV file even if it does for M. Duro. I am more confused than ever. Computers - just love 'em, don't you?