I have this source:
[code:2ll9jtkf]result = system->createSound("../media/drumloop.wav", FMOD_SOFTWARE, 0, &sound1);
result = system->createSound("../media/drumloop.wav", FMOD_SOFTWARE, 0, &sound2);[/code:2ll9jtkf]
Now, as far as I know the .wav file will somehow be loaded into memory for playback.
But will the wave be allocated once or twice in memory?
In other words, is there any kind of resource management which takes care of the raw data usage?
Thank you very much!
- pyrokar asked 9 years ago
thanks for the answer.
I already know, that a sound can be played as many times as I want.
The reason, why I asked was antoher one.
I load soundfiles from a scheme and it can happen, that there are the same soundfiles in different schemes. It would be silly, to load the sound twice 😉
So, I have to write a "filter" or can fmod do such things out of the box?
- pyrokar answered 9 years ago
Please login first to submit.