cAudio: Free C++ Audio Engine

cAudio Engine



cAudio engine is a C++ wrapper around OpenAL. By default OpenAL supports only *.wav files and cAudio brings additional files support: ogg, mod, xm, it and s3d via Vorbis and Mikmod libaries.

Here is a basic 2d audio code sample:

#include 
#include "../../include/IAudioManager.h"
#include "../../include/IAudio.h"
using namespace std;
int main(int argc, char* argv[])
{
  cAudio::IAudioManager* manager =
      cAudio::getAudioManager();
  manager->init(argc,argv);
  cAudio::IAudio* mysound = manager->createFromFile(
      "bling","bling.ogg", true);
  mysound->play2d(true);

  while(mysound->playing())
  {
    manager->update();
  }
  manager->release();
  manager->shutDown();
  return 0;
}

You can download cAudio source code, Win32/Linux SDK and documentation HERE.



Related posts:

  1. cAudio 2.0.0: Free OpenAL-Based Audio Engine
  2. SIO2: OpenGL Free Open Source 3D Engine For iPhone And iPod Touch
  3. Free PC Version of the DMM Engine Available Shortly
  4. OpenAL Summer 2009 Update!
  5. irrKlang Audio Library 1.1.0 released