I have just started to use FMod(with C++) and have some problems with it.I have made a class and made some functions in it to made loading/playing files easier(like ClassName::LoadMP3(“whatever.mp3”);)
Now I have loaded a lot of files using ‘my’ LoadMP3 function…but I do not know how to change the for the specificied file(for example i have loaded whatever.mp3,nothing.mp3,everything.mp3,something.midi and I want to change the volume JUST for whatever.mp3 to 100).How do I do that?
- Sheck asked 15 years ago
Umm, can you explain a bit more, please?
I want to have something like this:
How to do it? Do you have any example maybe(I am using C/C++)… And another question, when I free memory with FMUSIC_FreeSong(…) the music still plays…Is this a bad thing or something? Do I must stop the file before I free memory?
I still don’t understand it….
Look…I am playing two files(lets say “something.mp3” and “other.mp3”) at the SAME time…Now I want to change the volume(on the fly ofcourse) JUST for “other.mp3” to 100.How do I do that? I want it to look in my wrapper like
So, can you help me? And what can I do if i want to free memory JUST for “other.mp3” and not for “something.mp3”.
You can download my code here to better understand my problem:
So, i play two files:
Now can you help me to make a function to do something like:
Please login first to submit.