#include "openalpp/Export"
#include <cstdlib>
#include <AL/al.h>
#include <AL/alut.h>
#include <AL/alc.h>
#include "openalpp/windowsstuff"
#include "openalpp/Error"
#include <osg/Referenced>
#include <osg/ref_ptr>
#include <iostream>
Classes | |
class | openalpp::AudioBase |
Namespaces | |
namespace | openalpp |
C++ wrapper for OpenAL with additional functionality of handling ogg-vorbis as streams. | |
Defines | |
#define | ALCHECKERROR() |
Enumerations | |
enum | openalpp::SampleFormat { openalpp::Mono8, openalpp::Stereo8, openalpp::Mono16, openalpp::Stereo16 } |
Functions | |
const char * | openalpp::alGetErrorString (ALenum error) |
#define ALCHECKERROR | ( | ) |
{ \ ALenum e; \ if ((e=alGetError()) != AL_NO_ERROR){ \ const char *msg = openalpp::alGetErrorString(e); \ std::cerr << "alError: (" << e << ") " << __FILE__ << " at Line: " << __LINE__ << ": " << msg << std::endl; \ } \ }