FlightGear next
FGVoicePlayer::Voice Class Reference

#include <voiceplayer.hxx>

Classes

class  Element
 
class  SampleElement
 
class  SilenceElement
 

Public Member Functions

 Voice (FGVoicePlayer *_player)
 
virtual ~Voice ()
 
void append (Element *_element)
 
void play ()
 
void stop (bool now)
 
void set_volume (float _volume)
 
void volume_changed ()
 
void update ()
 

Public Attributes

Elementelement
 

Detailed Description

Definition at line 122 of file voiceplayer.hxx.

Constructor & Destructor Documentation

◆ Voice()

FGVoicePlayer::Voice::Voice ( FGVoicePlayer * _player)
inline

Definition at line 183 of file voiceplayer.hxx.

◆ ~Voice()

FGVoicePlayer::Voice::~Voice ( )
virtual

Definition at line 121 of file voiceplayer.cxx.

Member Function Documentation

◆ append()

void FGVoicePlayer::Voice::append ( Element * _element)
inline

Definition at line 188 of file voiceplayer.hxx.

◆ play()

void FGVoicePlayer::Voice::play ( )

Definition at line 129 of file voiceplayer.cxx.

◆ set_volume()

void FGVoicePlayer::Voice::set_volume ( float _volume)

Definition at line 153 of file voiceplayer.cxx.

◆ stop()

void FGVoicePlayer::Voice::stop ( bool now)

Definition at line 138 of file voiceplayer.cxx.

◆ update()

void FGVoicePlayer::Voice::update ( )

Definition at line 167 of file voiceplayer.cxx.

◆ volume_changed()

void FGVoicePlayer::Voice::volume_changed ( )

Definition at line 160 of file voiceplayer.cxx.

Member Data Documentation

◆ element

Element* FGVoicePlayer::Voice::element

Definition at line 181 of file voiceplayer.hxx.


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