audiere? how to use it?
Hi
I've searched for weeks, but noone seemes to know it?
I can only create individual sounds and load them at the same time as I create the "holder" for the sound (as the reference teaches us). I wanna do arrays, something like:
suitalbeAudiereSoundClass walksound[100];
suitalbeAudiereSoundClass menusound[100];
walksound[0]->loadSample("spagetti.wav");
walksound[1]->loadSample("cucumber.wav");
Is it possible? How else can I add large numbers of sounds or sounds belonging to a certain class etc and then load them somewhere else...
Would appriciate any help tremendously
Erik, Sweden
Im not familiar with Audiere...does it have a forum of users somewhere who could help you? Can you talk with the developers?
audiere::OutputStreamPtr audio[2];
audio[0] = audiere::OpenSound(audiereDevice, filename, isStreaming);
audio[1] = audiere::OpenSound(audiereDevice, filename, isStreaming);
I wouldn't recommend loading 200 sounds at once though, that's a lot of memory.
audio[0] = audiere::OpenSound(audiereDevice, filename, isStreaming);
audio[1] = audiere::OpenSound(audiereDevice, filename, isStreaming);
I wouldn't recommend loading 200 sounds at once though, that's a lot of memory.
--my site
Thanks Cosman, you cannot beleive how many people ive been bugging about that... It wasn't hard or anything but I couldn't figure out how to write it. A shame it's not in the tutorial, couldn't figure out how to write it in this manner. Now it's pretty crear even to me.
So which one is faster/better for effects or for music:
OutputStreamPtr
SoundEffectPtr
I dont really understand the diffrences. Any clear answers here? Are there more types of "soundHolders"?
Suliman
So which one is faster/better for effects or for music:
OutputStreamPtr
SoundEffectPtr
I dont really understand the diffrences. Any clear answers here? Are there more types of "soundHolders"?
Suliman
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement