FP Perception 0.1.2
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
fp_perception::SpeechPipeline Class Reference

#include <speech_pipeline.hpp>

Public Member Functions

 SpeechPipeline (std::shared_ptr< SpeechSynthesisDriver > speech_driver, std::shared_ptr< AudioSinkDriver > speaker_driver=nullptr)
 
speech_pipeline_result run (const text_data &input, bool use_device_audio)
 

Private Attributes

std::shared_ptr< SpeechSynthesisDriverspeech_driver_
 
std::shared_ptr< AudioSinkDriverspeaker_driver_
 

Constructor & Destructor Documentation

◆ SpeechPipeline()

fp_perception::SpeechPipeline::SpeechPipeline ( std::shared_ptr< SpeechSynthesisDriver speech_driver,
std::shared_ptr< AudioSinkDriver speaker_driver = nullptr 
)
inline

Member Function Documentation

◆ run()

speech_pipeline_result fp_perception::SpeechPipeline::run ( const text_data input,
bool  use_device_audio 
)
inline

Member Data Documentation

◆ speaker_driver_

std::shared_ptr<AudioSinkDriver> fp_perception::SpeechPipeline::speaker_driver_
private

◆ speech_driver_

std::shared_ptr<SpeechSynthesisDriver> fp_perception::SpeechPipeline::speech_driver_
private

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