I use DirectShow to playback all audio files (esp. mp3). At first I render them using RenderFile(filename). This works great but if i want to replay a stopped file using
it seems to take too much time, because the game halts for a short moment until the sound file starts again.
My question is, if there does exist a method to play files from memory passing a variable which contains the data or the entire file (e.g. a char pointer).
After I have rendered the file is its data copied into memory for further playback or does DirectShow reads the file again when replaying sounds?
I'd be really glad I somebody can help me out here!
Thx a lot,