AudiClean
|
#include <SoxEndpoint.h>
Public Member Functions | |
bool | Open (int rate, int nchan, std::string globalopts, std::string fileopts, std::string filename, std::string effectopts) |
void | NextSample (double s) |
void | Close (void) |
A pipeline element which allows samples to be piped into the SoX program, written to file or otherwise.
void SoxEndpoint::Close | ( | void | ) |
Close the output pipe if it exists
|
virtual |
bool SoxEndpoint::Open | ( | int | srate, |
int | nchan, | ||
std::string | globalopts, | ||
std::string | fileopts, | ||
std::string | filename, | ||
std::string | effectopts | ||
) |
Open the SoX pipe
srate | sample rate for pipe |
nchan | nr of channels in filtered audio |
globalopts | |
fileopts | |
filename | filename to pass to sox |
effectopts | options for SoX effects |