Discussion:
[Audiere-users] create array of sounds?
erik hellström
2005-08-04 03:56:33 UTC
Permalink
If you know audiere, plz help me with this which noone seemes to have a clue about:

I can only create individual sounds and load them at the same time as I create the "holder" for the sound. I wanna do arrays, something like:

suitalbeAudiereSoundClass * walksound[100];

walksound[0]->loadSample("spagetti.wav");
walksound[1]->loadSample("cucumber.wav");

walksound[1]->play(etc);

something like this

Is it possible? How else can I add sounds belonging to a certain class etc and then load/unload it somewhere else...

Thanks!
Beam

Loading...