Jump to content
  • Advertisement
Sign in to follow this  
suliman

audiere? how to use it?

This topic is 4835 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
Im not familiar with Audiere...does it have a forum of users somewhere who could help you? Can you talk with the developers?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!