FlightGear next
FGVoicePlayer::Voice::Element Class Referenceabstract

#include <voiceplayer.hxx>

Inherited by FGVoicePlayer::Voice::SampleElement, and FGVoicePlayer::Voice::SilenceElement.

Public Member Functions

virtual ~Element ()
 
virtual void play (float volume)
 
virtual void stop ()
 
virtual bool is_playing ()=0
 
virtual void set_volume (float volume)
 

Public Attributes

bool silence
 

Detailed Description

Definition at line 130 of file voiceplayer.hxx.

Constructor & Destructor Documentation

◆ ~Element()

virtual FGVoicePlayer::Voice::Element::~Element ( )
inlinevirtual

Definition at line 135 of file voiceplayer.hxx.

Member Function Documentation

◆ is_playing()

virtual bool FGVoicePlayer::Voice::Element::is_playing ( )
pure virtual

◆ play()

virtual void FGVoicePlayer::Voice::Element::play ( float volume)
inlinevirtual

◆ set_volume()

virtual void FGVoicePlayer::Voice::Element::set_volume ( float volume)
inlinevirtual

Reimplemented in FGVoicePlayer::Voice::SampleElement.

Definition at line 139 of file voiceplayer.hxx.

◆ stop()

virtual void FGVoicePlayer::Voice::Element::stop ( )
inlinevirtual

Reimplemented in FGVoicePlayer::Voice::SampleElement.

Definition at line 137 of file voiceplayer.hxx.

Member Data Documentation

◆ silence

bool FGVoicePlayer::Voice::Element::silence

Definition at line 133 of file voiceplayer.hxx.


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