This is a continuation of my last question (simulated car sounds in FMOD)
I have a library of sound samples stored in an array with the lowest index being the lowest in pitch, and the largest index being the highest in pitch. I use my own volume and frequency controls to mix these samples, however, i only want 2 samples loaded at one time. To load the initial samples, i use the function:
samp = FSOUND_Sample_Load(FSOUND_FREE, <filename>, FSOUND_HW3D, 0);
this works fine and i can hear the car sounds, however, when I need to load a new sample, Im not exactly sure I have the syntax right.
FSOUND_Sample_Upload(samp, <new filename>, FSOUND_HW3D);
However, the initially loaded sound doesnt seem to stop playing, even after Ive paused it and supposedly reloaded a new sample…
Do I need to use
before i upload a new sample? Am i supposed to use the
Any advice would be appreciated.
- sjezewsk asked 15 years ago
- You must login to post comments