reference

This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.

ofBaseSoundPlayer Class Referenceabstract

#include <ofSoundBaseTypes.h>

Inheritance diagram for ofBaseSoundPlayer:
ofMediaFoundationSoundPlayer ofSoundPlayer

Public Member Functions

 ofBaseSoundPlayer ()
 
virtual ~ofBaseSoundPlayer ()
 
virtual bool load (const of::filesystem::path &fileName, bool stream=false)=0
 
virtual void unload ()=0
 
virtual void play ()=0
 
virtual void stop ()=0
 
virtual void setVolume (float vol)=0
 
virtual void setPan (float vol)=0
 
virtual void setSpeed (float spd)=0
 
virtual void setPaused (bool bP)=0
 
virtual void setLoop (bool bLp)=0
 
virtual void setMultiPlay (bool bMp)=0
 
virtual void setPosition (float pct)=0
 
virtual void setPositionMS (int ms)=0
 
virtual float getPosition () const =0
 
virtual int getPositionMS () const =0
 
virtual bool isPlaying () const =0
 
virtual float getSpeed () const =0
 
virtual float getPan () const =0
 
virtual bool isLoaded () const =0
 
virtual float getVolume () const =0
 

Constructor & Destructor Documentation

◆ ofBaseSoundPlayer()

ofBaseSoundPlayer::ofBaseSoundPlayer ( )
inline

◆ ~ofBaseSoundPlayer()

virtual ofBaseSoundPlayer::~ofBaseSoundPlayer ( )
inlinevirtual

Member Function Documentation

◆ getPan()

virtual float ofBaseSoundPlayer::getPan ( ) const
pure virtual

◆ getPosition()

virtual float ofBaseSoundPlayer::getPosition ( ) const
pure virtual

◆ getPositionMS()

virtual int ofBaseSoundPlayer::getPositionMS ( ) const
pure virtual

◆ getSpeed()

virtual float ofBaseSoundPlayer::getSpeed ( ) const
pure virtual

◆ getVolume()

virtual float ofBaseSoundPlayer::getVolume ( ) const
pure virtual

◆ isLoaded()

virtual bool ofBaseSoundPlayer::isLoaded ( ) const
pure virtual

◆ isPlaying()

virtual bool ofBaseSoundPlayer::isPlaying ( ) const
pure virtual

◆ load()

virtual bool ofBaseSoundPlayer::load ( const of::filesystem::path &  fileName,
bool  stream = false 
)
pure virtual

◆ play()

virtual void ofBaseSoundPlayer::play ( )
pure virtual

◆ setLoop()

virtual void ofBaseSoundPlayer::setLoop ( bool  bLp)
pure virtual

◆ setMultiPlay()

virtual void ofBaseSoundPlayer::setMultiPlay ( bool  bMp)
pure virtual

◆ setPan()

virtual void ofBaseSoundPlayer::setPan ( float  vol)
pure virtual

◆ setPaused()

virtual void ofBaseSoundPlayer::setPaused ( bool  bP)
pure virtual

◆ setPosition()

virtual void ofBaseSoundPlayer::setPosition ( float  pct)
pure virtual

◆ setPositionMS()

virtual void ofBaseSoundPlayer::setPositionMS ( int  ms)
pure virtual

◆ setSpeed()

virtual void ofBaseSoundPlayer::setSpeed ( float  spd)
pure virtual

◆ setVolume()

virtual void ofBaseSoundPlayer::setVolume ( float  vol)
pure virtual

◆ stop()

virtual void ofBaseSoundPlayer::stop ( )
pure virtual

◆ unload()

virtual void ofBaseSoundPlayer::unload ( )
pure virtual

The documentation for this class was generated from the following file: