Hey,

I'm currently writing a sound program that will work with several wav files and at the same time play the mix of them all (say a studio mix).

This file I want to play is a wav file and I can play it using PlaySound() in windows.h. And this works for the first about 1 minute 23 for a mono file and 37 seconds for a stereo file (with double the memory for each sample) at which point the audio playing just stops.

I believe the problem is, some research has told me, that because of the way PlaySound() uses buffers, it can only play so much of a file (dictated by size).

Could anyone tell me a function or some way to basically just play this song the whole way through? It's quite a large file - around 40-50mb.

Thanks,
Conor.