Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

syn::OpenALSound Class Reference

This simply buffers an entire wav file, and assigns it to an independant source (voice/stream) in openal. More...

#include <OpenALSound.h>

List of all members.

Public Methods

 OpenALSound ()
bool load (const syn::AudioFormat &fmt, char *fname)
void play ()
void setPos (float x, float y, float z)
void stop ()
void step ()
bool isPlaying ()


Detailed Description

This simply buffers an entire wav file, and assigns it to an independant source (voice/stream) in openal.

It has params for setting position, stop, play() on the stream. NOTE: this class isn't really part of subsynth, and will be moved to sonix, or removed in the future.

Definition at line 56 of file OpenALSound.h.


Constructor & Destructor Documentation

syn::OpenALSound::OpenALSound ( ) [inline]
 

Definition at line 59 of file OpenALSound.h.


Member Function Documentation

bool syn::OpenALSound::load ( const syn::AudioFormat & fmt,
char * fname ) [inline]
 

Definition at line 64 of file OpenALSound.h.

void syn::OpenALSound::play ( ) [inline]
 

Definition at line 148 of file OpenALSound.h.

void syn::OpenALSound::setPos ( float x,
float y,
float z ) [inline]
 

Definition at line 153 of file OpenALSound.h.

void syn::OpenALSound::stop ( ) [inline]
 

Definition at line 164 of file OpenALSound.h.

void syn::OpenALSound::step ( ) [inline]
 

Definition at line 169 of file OpenALSound.h.

bool syn::OpenALSound::isPlaying ( ) [inline]
 

Definition at line 201 of file OpenALSound.h.


The documentation for this class was generated from the following file:
Generated at Mon Apr 15 09:28:01 2002 for subsynth by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001