20#if defined (YARP_HAS_SOXR)
36#ifndef MULTICHANS_TESTED
37 if (
snd.getChannels() != 1)
44 if (
snd.getSamples() == 0)
50 if (
static_cast<unsigned>(
snd.getFrequency()) == frequency)
56#if !defined (YARP_HAS_SOXR)
68#ifdef MULTICHANS_TESTED
77 for (
size_t t = 0; t <
ismp; t++)
107 for (
size_t t = 0; t <
osmp; t++)
A mini-server for performing network communication in the background.
Class for storing sounds See Audio in YARP for additional documentation on YARP audio.
#define yCError(component,...)
#define yCWarning(component,...)
#define YARP_LOG_COMPONENT(name,...)
An interface to the operating system, including Port based communication.
bool resample(yarp::sig::Sound &snd, size_t frequency)
Resample a sound.