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 | Public Attributes | Private Attributes | List of all members
cqsp::engine::audio::AudioChannel Struct Reference

#include <audiointerface.h>

Public Member Functions

 AudioChannel ()
 
void SetGain (float gain)
 
void SetPitch (float pitch)
 
void SetLooping (bool looping)
 
void Play ()
 
void Stop ()
 
void Resume ()
 
void Pause ()
 
void Rewind ()
 
bool IsStopped ()
 
bool IsPlaying ()
 
float PlayPosition ()
 
void EmptyBuffer ()
 
void SetBuffer (cqsp::asset::AudioAsset *buffer)
 
 ~AudioChannel ()
 

Public Attributes

float length = 0
 

Private Attributes

ALuint channel
 

Constructor & Destructor Documentation

◆ AudioChannel()

cqsp::engine::audio::AudioChannel::AudioChannel ( )
inline

◆ ~AudioChannel()

cqsp::engine::audio::AudioChannel::~AudioChannel ( )
inline

Member Function Documentation

◆ EmptyBuffer()

void cqsp::engine::audio::AudioChannel::EmptyBuffer ( )
inline

◆ IsPlaying()

bool cqsp::engine::audio::AudioChannel::IsPlaying ( )
inline

◆ IsStopped()

bool cqsp::engine::audio::AudioChannel::IsStopped ( )
inline

◆ Pause()

void cqsp::engine::audio::AudioChannel::Pause ( )
inline

◆ Play()

void cqsp::engine::audio::AudioChannel::Play ( )
inline

◆ PlayPosition()

float cqsp::engine::audio::AudioChannel::PlayPosition ( )
inline

◆ Resume()

void cqsp::engine::audio::AudioChannel::Resume ( )
inline

◆ Rewind()

void cqsp::engine::audio::AudioChannel::Rewind ( )
inline

◆ SetBuffer()

void cqsp::engine::audio::AudioChannel::SetBuffer ( cqsp::asset::AudioAsset buffer)

◆ SetGain()

void cqsp::engine::audio::AudioChannel::SetGain ( float  gain)
inline

◆ SetLooping()

void cqsp::engine::audio::AudioChannel::SetLooping ( bool  looping)
inline

◆ SetPitch()

void cqsp::engine::audio::AudioChannel::SetPitch ( float  pitch)
inline

◆ Stop()

void cqsp::engine::audio::AudioChannel::Stop ( )
inline

Member Data Documentation

◆ channel

ALuint cqsp::engine::audio::AudioChannel::channel
private

◆ length

float cqsp::engine::audio::AudioChannel::length = 0

The documentation for this struct was generated from the following files: