Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Config::sound_config Class Reference

#include <Config.h>

Inheritance diagram for Config::sound_config:

Inheritance graph
[legend]
List of all members.

Detailed Description

sound information

Definition at line 581 of file Config.h.

Public Types

 MUTE = ospkvolinfdB
 LOW = ospkvol25dB
 MID = ospkvol18dB
 HIGH = ospkvol10dB
enum  volume_levels { MUTE = ospkvolinfdB, LOW = ospkvol25dB, MID = ospkvol18dB, HIGH = ospkvol10dB }

Public Member Functions

 sound_config (Config *c)
 constructor
std::string makePath (const std::string &name)
 returns an absolute path if is relative (to root), otherwise just name

Public Attributes

Configthisconfig
 pointer back to the containing config object
plist::Primitive< std::string > root
 path to sound clips
plist::NamedEnumeration< volume_levelsvolume
 volume in decibels - the value is interpreted as a signed short, where 0 is full volume, 0x8000 is mute
plist::Primitive< unsigned
int > 
sample_rate
 sample rate to send to system, currently only 8000 or 16000 supported
plist::Primitive< unsigned
int > 
sample_bits
 sample bit depth, either 8 or 16
plist::ArrayOf< plist::Primitive<
std::string > > 
preload
 list of sounds to preload at boot
plist::Primitive< float > pitchConfidenceThreshold
 confidence threshold required to generate a pitch event [0-1]
Config::sound_config::streaming_config streaming
 audio streaming configuration

Private Member Functions

 sound_config (const sound_config &)
 don't call
sound_configoperator= (const sound_config &)
 don't call

Classes

class  streaming_config
 audio streaming configuration More...


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

Tekkotsu v3.0
Generated Fri May 11 20:07:52 2007 by Doxygen 1.4.7