C# Class Cradiator.Audio.AudioPlayer

Inheritance: IAudioPlayer, IConfigObserver
Datei anzeigen Open project: PandaWood/Cradiator Class Usage Examples

Public Methods

Method Description
AudioPlayer ( string path ) : System

this is for testing only, TODO reconsider

Play ( string soundFileName ) : void
Say ( PromptBuilder promptBuilder ) : void

Private Methods

Method Description
AudioPlayer ( ISpeechSynthesizer speechSynth, IConfigSettings configSettings, Cradiator.Audio.VoiceSelector voiceSelector, IAppLocation appLocation ) : System
IConfigObserver ( ConfigSettings newSettings ) : void

Method Details

AudioPlayer() public method

this is for testing only, TODO reconsider
public AudioPlayer ( string path ) : System
path string
return System

Play() public method

public Play ( string soundFileName ) : void
soundFileName string
return void

Say() public method

public Say ( PromptBuilder promptBuilder ) : void
promptBuilder PromptBuilder
return void