12#include <catch2/catch_amalgamated.hpp>
22 Network::setLocalMode(
true);
24 SECTION(
"Checking audioFromFileDevice device")
36 std::size_t pos =
cpp_path.find(
"audioFromFileDevice_test.cpp");
37 if (pos != std::string::npos)
43 p_cfg.put(
"device",
"audioFromFileDevice");
60 Network::setLocalMode(
false);
TEST_CASE("dev::audioFromFileDevice", "[yarp::dev]")
bool view(T *&x)
Get an interface to the device driver.
Read a YARP-format sound block from a device.
A container for a device driver.
bool close() override
Close the DeviceDriver.
bool open(const std::string &txt)
Construct and configure a device by its common name.
A mini-server for performing network communication in the background.
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.
For streams capable of holding different kinds of content, check what they actually have.
An interface to the operating system, including Port based communication.