Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | List of all members
cqsp::engine::audio::IAudioInterface Class Referenceabstract

#include <iaudiointerface.h>

Inheritance diagram for cqsp::engine::audio::IAudioInterface:
cqsp::engine::audio::AudioInterface

Public Member Functions

virtual ~IAudioInterface ()=default
 
virtual void Pause (bool to_pause)=0
 
virtual void PauseMusic (bool to_pause)=0
 
virtual std::string GetAudioVersion ()=0
 
virtual void Initialize ()=0
 
virtual void Destruct ()=0
 
virtual void StartWorker ()=0
 
virtual void RequestPlayAudio ()=0
 
virtual void SetMusicVolume (float volume)=0
 
virtual void PlayAudioClip (cqsp::asset::AudioAsset *asset, int channel)=0
 
virtual void SetChannelVolume (int channel, float gain)=0
 
virtual void OnFrame ()=0
 
virtual void AddAudioClip (const std::string &key, cqsp::asset::AudioAsset *asset)=0
 
virtual void PlayAudioClip (const std::string &key)=0
 

Constructor & Destructor Documentation

◆ ~IAudioInterface()

virtual cqsp::engine::audio::IAudioInterface::~IAudioInterface ( )
virtualdefault

Member Function Documentation

◆ AddAudioClip()

virtual void cqsp::engine::audio::IAudioInterface::AddAudioClip ( const std::string &  key,
cqsp::asset::AudioAsset asset 
)
pure virtual

◆ Destruct()

virtual void cqsp::engine::audio::IAudioInterface::Destruct ( )
pure virtual

◆ GetAudioVersion()

virtual std::string cqsp::engine::audio::IAudioInterface::GetAudioVersion ( )
pure virtual

◆ Initialize()

virtual void cqsp::engine::audio::IAudioInterface::Initialize ( )
pure virtual

◆ OnFrame()

virtual void cqsp::engine::audio::IAudioInterface::OnFrame ( )
pure virtual

◆ Pause()

virtual void cqsp::engine::audio::IAudioInterface::Pause ( bool  to_pause)
pure virtual

◆ PauseMusic()

virtual void cqsp::engine::audio::IAudioInterface::PauseMusic ( bool  to_pause)
pure virtual

◆ PlayAudioClip() [1/2]

virtual void cqsp::engine::audio::IAudioInterface::PlayAudioClip ( const std::string &  key)
pure virtual

◆ PlayAudioClip() [2/2]

virtual void cqsp::engine::audio::IAudioInterface::PlayAudioClip ( cqsp::asset::AudioAsset asset,
int  channel 
)
pure virtual

◆ RequestPlayAudio()

virtual void cqsp::engine::audio::IAudioInterface::RequestPlayAudio ( )
pure virtual

◆ SetChannelVolume()

virtual void cqsp::engine::audio::IAudioInterface::SetChannelVolume ( int  channel,
float  gain 
)
pure virtual

◆ SetMusicVolume()

virtual void cqsp::engine::audio::IAudioInterface::SetMusicVolume ( float  volume)
pure virtual

◆ StartWorker()

virtual void cqsp::engine::audio::IAudioInterface::StartWorker ( )
pure virtual

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