Homepage Demos Overview Downloads Tutorials Reference
Credits
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Search

Config::sound_config Struct Reference

#include <Config.h>

List of all members.


Detailed Description

sound information

Definition at line 125 of file Config.h.

Public Member Functions

std::string makePath (std::string name)
 returns an absolute path if is relative (to root), otherwise just name

 sound_config ()
 constructor


Public Attributes

std::string root
 path to sound clips

unsigned int sample_rate
 sample rate to send to system, currently only 8000 or 16000 supported

unsigned int sample_bits
 sample bit depth, either 8 or 16

std::vector< std::string > preload
 list of sounds to preload at boot


Constructor & Destructor Documentation

Config::sound_config::sound_config  )  [inline]
 

constructor

Definition at line 137 of file Config.h.

References preload, root, sample_bits, and sample_rate.


Member Function Documentation

std::string Config::sound_config::makePath std::string  name  )  [inline]
 

returns an absolute path if is relative (to root), otherwise just name

Definition at line 132 of file Config.h.

References root.


Member Data Documentation

std::vector<std::string> Config::sound_config::preload
 

list of sounds to preload at boot

Definition at line 129 of file Config.h.

std::string Config::sound_config::root
 

path to sound clips

Definition at line 126 of file Config.h.

unsigned int Config::sound_config::sample_bits
 

sample bit depth, either 8 or 16

Definition at line 128 of file Config.h.

unsigned int Config::sound_config::sample_rate
 

sample rate to send to system, currently only 8000 or 16000 supported

Definition at line 127 of file Config.h.


The documentation for this struct was generated from the following file:
Tekkotsu v1.4
Generated Sat Jul 19 00:08:52 2003 by Doxygen 1.3.2