I googled but could'nt find any thing.
Thanks
Code: Select all
#include <iostream>
#include <irrKlang.h>
using namespace irrklang;
int main(int argc, const char** argv)
{
ISoundEngine* engine = createIrrKlangDevice();
engine->play2D("../../media/getout.ogg", true);
char i = 0;
while(i != 'q')
{
std::cout << "Press any key to play some sound, press 'q' to quit.\n";
engine->play2D("../../media/bell.wav");
std::cin >> i; // wait for user to press some key
}
engine->drop();
}Code: Select all
#include <iostream>
#include "IAudioManager.h"
using namespace std;
using namespace cAudio;
int main(int argc, char* argv[])
{
IAudioManager *audiomgr = cAudio::getAudioManager();
audiomgr->init(argc,argv);
audiomgr->create("awsomesound","/sounds/awsomesound.ogg",false);
audiomgr->getSound("awsomesound")->play2d(false);
while(){
audiomgr->update();
}
audiomgr->release();
audiomgr->shutDown();
}
Is there any chance that you will ever show the initiative to find things out yourself? I mean, any chance at all?3DModelerMan wrote:That right there is probably the ticket, but the only thing I'm wondering is if it does 3D sound, does it?.