Crystal Space
Welcome, Guest. Please login or register.
October 25, 2014, 12:50:31 am

Login with username, password and session length
Search:     Advanced search
9011 Posts in 2044 Topics by 8817 Members
Latest Member: Natsaw1610
* Home Help Search Login Register
+  Crystal Space
|-+  Crystal Space Development
| |-+  General Crystal Space Discussion
| | |-+  cAudio 1.7.1 c++ Audio Engine
« previous next »
Pages: [1] Print
Author Topic: cAudio 1.7.1 c++ Audio Engine  (Read 2555 times)
Rj
Newbie
*
Posts: 2


raynaldorivera@msn.com wildrj13 wildrj13
View Profile WWW Email
« on: May 20, 2009, 09:34:09 pm »

cAudio was created to be a good alternative to fmod,bass, and irrklang.

Example code cAudio:
Code:
//Basic 2d audio
#include <iostream>
#include "../../include/IAudioManager.h"
#include "../../include/IAudio.h"

using namespace std;

int main(int argc, char* argv[])
{
    cout <<"cAudio 1.7.1 Tutorial 1: 2DSound\n";

    cAudio::IAudioManager* manager = cAudio::getAudioManager();
    manager->init(argc,argv);
    cAudio::IAudio* mysound = manager->createFromFile("bling","../../bin/bling.ogg",true);

    mysound->play2d(true);

    while(mysound->playing()){

  manager->update();

    }

    manager->release();
    manager->shutDown();
    return 0;
}
The cAudio Engine is a c++ wrapper around openal to allow you to get sound and music into your games easily.
current version 1.7.1

The main reason behind making cAudio was there wasn't a hole lot of choices for getting sound into your game. Basically there was audiere, fmod, bass, irrKlang,and SDL mixer. Also there was openal which cAudio is built on. The only problem with using openal is its hard to use in games. So cAudio was born.

cAudio uses openal for controlling all aspects of the sound.
Vorbis libary for decoding and playing .ogg files.
Mikmod for the mod,xm,it,and s3d support.

Special Thanks to Dark_Kilauea,KittyCat, Sudi, Rooly, and BloodInch

Supports: ogg,wav

Download at: http://www.deathtouchstudios.com
Direct at: http://deathtouchstudios.com/xoops/modules/wfdownloads/viewcat.php?cid=1

Features:
* 2d Audio

* 3d Audio

* Pitch control

* Directional control

* Velocity control

* Listener orientation control

* Doppler control

* Looping

* Multiple streams

* Load file into memory and play

* Stream file

* Play,pause,and stop controls

* Easy to use Audio manager

* Self contained *no longer need runtime installed*

* Easy to extend

License:
zlib


Fill free to ask any questions. There are currently binary builds for win32-gcc win32-visual and linux-x86
Logged

Programming is a way of life.
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Page created in 4.214 seconds with 15 queries.