r-type  0.0.0
R-Type main
Loading...
Searching...
No Matches
eng::IAudio Class Referenceabstract

Interface for the audio. More...

#include <IAudio.hpp>

+ Inheritance diagram for eng::IAudio:
+ Collaboration diagram for eng::IAudio:

Public Member Functions

virtual void createAudio (const std::string &path, float volume, bool loop, const std::string &name)=0
 
virtual void playAudio (const std::string &name)=0
 
virtual void setVolume (const std::string &name, float volume)=0
 
virtual void setLoop (const std::string &name, bool loop)=0
 
virtual void stopAudio (const std::string &name)=0
 
virtual Status isPlaying (const std::string &name)=0
 
- Public Member Functions inherited from utl::IPlugin
virtual ~IPlugin ()=default
 
virtual const std::string getName () const =0
 
virtual PluginType getType () const =0
 

Detailed Description

Interface for the audio.

Definition at line 28 of file IAudio.hpp.

Member Function Documentation

◆ createAudio()

virtual void eng::IAudio::createAudio ( const std::string & path,
float volume,
bool loop,
const std::string & name )
pure virtual

◆ isPlaying()

virtual Status eng::IAudio::isPlaying ( const std::string & name)
pure virtual

Referenced by cli::AudioSystem::update().

+ Here is the caller graph for this function:

◆ playAudio()

virtual void eng::IAudio::playAudio ( const std::string & name)
pure virtual

Referenced by cli::AudioSystem::update().

+ Here is the caller graph for this function:

◆ setLoop()

virtual void eng::IAudio::setLoop ( const std::string & name,
bool loop )
pure virtual

Referenced by cli::AudioSystem::update().

+ Here is the caller graph for this function:

◆ setVolume()

virtual void eng::IAudio::setVolume ( const std::string & name,
float volume )
pure virtual

Referenced by cli::AudioSystem::update().

+ Here is the caller graph for this function:

◆ stopAudio()

virtual void eng::IAudio::stopAudio ( const std::string & name)
pure virtual

Referenced by cli::AudioSystem::update().

+ Here is the caller graph for this function:

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