Public Member Functions | Static Public Member Functions | Public Attributes

ofSoundPlayer Class Reference

#include <ofSoundPlayer.h>

List of all members.

Public Member Functions

 ofSoundPlayer ()
virtual ~ofSoundPlayer ()
void loadSound (string fileName, bool stream=false)
void unloadSound ()
void play ()
void stop ()
void setVolume (float vol)
void setPan (float vol)
void setSpeed (float spd)
void setPaused (bool bP)
void setLoop (bool bLp)
void setMultiPlay (bool bMp)
void setPosition (float pct)
float getPosition ()
bool getIsPlaying ()
float getSpeed ()
float getPan ()

Static Public Member Functions

static void initializeFmod ()
static void closeFmod ()

Public Attributes

bool isStreaming
bool bMultiPlay
bool bLoop
bool bLoadedOk
bool bPaused
float pan
float volume
float internalFreq
float speed
unsigned int length
FMOD_RESULT result
FMOD_CHANNEL * channel
FMOD_SOUND * sound

Constructor & Destructor Documentation

ofSoundPlayer::ofSoundPlayer (  )
ofSoundPlayer::~ofSoundPlayer (  ) [virtual]

Member Function Documentation

void ofSoundPlayer::closeFmod (  ) [static]
bool ofSoundPlayer::getIsPlaying (  )
float ofSoundPlayer::getPan (  )
float ofSoundPlayer::getPosition (  )
float ofSoundPlayer::getSpeed (  )
void ofSoundPlayer::initializeFmod (  ) [static]
void ofSoundPlayer::loadSound ( string  fileName,
bool  stream = false 
)
void ofSoundPlayer::play (  )
void ofSoundPlayer::setLoop ( bool  bLp )
void ofSoundPlayer::setMultiPlay ( bool  bMp )
void ofSoundPlayer::setPan ( float  vol )
void ofSoundPlayer::setPaused ( bool  bP )
void ofSoundPlayer::setPosition ( float  pct )
void ofSoundPlayer::setSpeed ( float  spd )
void ofSoundPlayer::setVolume ( float  vol )
void ofSoundPlayer::stop (  )
void ofSoundPlayer::unloadSound (  )

Member Data Documentation

FMOD_CHANNEL* ofSoundPlayer::channel
unsigned int ofSoundPlayer::length
FMOD_RESULT ofSoundPlayer::result
FMOD_SOUND* ofSoundPlayer::sound

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines