Interface for the audio.
More...
#include <IAudio.hpp>
|
| 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 |
| |
| virtual | ~IPlugin ()=default |
| |
| virtual const std::string | getName () const =0 |
| |
| virtual PluginType | getType () const =0 |
| |
Interface for the audio.
Definition at line 28 of file IAudio.hpp.
◆ 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 |
◆ playAudio()
| virtual void eng::IAudio::playAudio |
( |
const std::string & | name | ) |
|
|
pure virtual |
◆ setLoop()
| virtual void eng::IAudio::setLoop |
( |
const std::string & | name, |
|
|
bool | loop ) |
|
pure virtual |
◆ setVolume()
| virtual void eng::IAudio::setVolume |
( |
const std::string & | name, |
|
|
float | volume ) |
|
pure virtual |
◆ stopAudio()
| virtual void eng::IAudio::stopAudio |
( |
const std::string & | name | ) |
|
|
pure virtual |
The documentation for this interface was generated from the following file:
- /home/runner/work/R-Type/R-Type/modules/Interfaces/include/Interfaces/IAudio.hpp