ofDocsdocumentation sound ofOpenALSoundPlayer

ofOpenALSoundPlayer


close( )

void close()

createWindow( ... )

void createWindow(int size)

getCurrentBufferSum( ... )

float * getCurrentBufferSum(int size)

getPan( )

float getPan()

getPosition( )

float getPosition()

getPositionMS( )

int getPositionMS()

getSpectrum( ... )

float * getSpectrum(int bands)

getSpeed( )

float getSpeed()

getSystemSpectrum( ... )

float * getSystemSpectrum(int bands)

getVolume( )

float getVolume()

initFFT( ... )

void initFFT(int bands)

initSystemFFT( ... )

void initSystemFFT(int bands)

initialize( )

void initialize()

isLoaded( )

bool isLoaded()

isPaused( )

bool isPaused()

isPlaying( )

bool isPlaying()

load( ... )

bool load(const filesystem::path &fileName, bool stream=false)

ofOpenALSoundPlayer( )

ofOpenALSoundPlayer()

play( )

void play()

setLoop( ... )

void setLoop(bool bLp)

setMultiPlay( ... )

void setMultiPlay(bool bMp)

setPan( ... )

void setPan(float vol)

setPaused( ... )

void setPaused(bool bP)

setPosition( ... )

void setPosition(float pct)

setPositionMS( ... )

void setPositionMS(int ms)

setSpeed( ... )

void setSpeed(float spd)

setVolume( ... )

void setVolume(float vol)

stop( )

void stop()

threadedFunction( )

void threadedFunction()

unload( )

void unload()

update( ... )

void update(ofEventArgs &args)

~ofOpenALSoundPlayer( )

~ofOpenALSoundPlayer()

Variables

ALCcontext* alContext
ALCdevice* alDevice
bool bLoadedOk
bool bLoop
bool bMultiPlay
bool bPaused
int channels
float duration
kiss_fftr_cfg fftCfg
float internalFreq
bool isStreaming
unsignedint length
int mp3_buffer_size
mpg123_handle* mp3streamf
float pan
int samplerate
float speed
int stream_encoding
bool stream_end
size_t stream_samples_read
double stream_scale
int stream_subformat
SNDFILE* streamf
kiss_fftr_cfg systemFftCfg
float volume
float windowSum