12#include <catch2/catch_amalgamated.hpp>
18TEST_CASE(
"dev::fakePythonSpeechTranscription",
"[yarp::dev]")
22 Network::setLocalMode(
true);
24 SECTION(
"Checking fakePythonSpeechTranscription device")
37 pdev_cfg.put(
"device",
"fakePythonSpeechTranscription");
38 pdev_cfg.put(
"moduleName",
"Module");
40 pdev_cfg.put(
"className",
"SpeechTranscriptor");
45 std::string
lang =
"eng";
69 Network::setLocalMode(
false);
A generic interface for speech transcription.
A container for a device driver.
A mini-server for performing network communication in the background.
void close() override
Stop port activity.
bool open(const std::string &name) override
Start port operation, with a specific name, with automatically-chosen network parameters.
A class for storing options and configuration information.
Helper class for finding config files and other external resources.
bool setDefaultContext(const std::string &contextName)
Sets the context for the current ResourceFinder object.
std::string findFileByName(const std::string &name)
Find the full path to a file.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
void resize(size_t samples, size_t channels=1)
Set the sound size.
TEST_CASE("dev::fakePythonSpeechTranscription", "[yarp::dev]")
For streams capable of holding different kinds of content, check what they actually have.
void delay(double seconds)
Wait for a certain number of seconds.
An interface to the operating system, including Port based communication.