cAudio 2.0.0: Free OpenAL-Based Audio Engine

cAudio 2.0.0


The version 2.0.0 of cAudio is out. cAudio engine is an advanced C++ wrapper around the OpenAL API.

cAudio is completely free to use for commercial and non commercial applications.

cAudio comes with the MP3 support via a plugin (MP3 is not managed OpenAL – you have to write your own loader to play MP3 files with OpenAL). More features are listed HERE.

Here is a code snippet that use cAudio engine:

#include <cAudio.h>
int main() 
{ 
  cAudio::IAudioManager* mgr = 
        cAudio::createAudioManager(true); 
  cAudio::IAudioSource* mysound = 
        manager->create("music","./theme1.ogg",true); 
  if (mysound) 
  { 
    mysound->play2d(false); 
    while(mysound->isPlaying()) 
      cAudio::cAudioSleep(10); 
   } 
   cAudio manager->shutDown(); 
   cAudio::destroyAudioManager(manager); 
   return 0; 
}



Geeks3D.com

↑ Grab this Headline Animator