AudiClean
SoxEndpoint.h
Go to the documentation of this file.
1 #ifndef SOXENDPOINT_H
2 #define SOXENDPOINT_H
3 
4 #include "SampleCallback.h"
5 #include <cstdio>
6 #include <string>
10 class SoxEndpoint : public SampleCallback {
11 public:
12  bool Open(int rate, int nchan, std::string globalopts, std::string fileopts, std::string filename, std::string effectopts);
13  void NextSample(double s);
14  void Close(void);
15 private:
16  FILE* pipe;
17 };
18 
19 #endif
20 
SoxEndpoint::Close
void Close(void)
Definition: SoxEndpoint.cpp:31
SampleCallback.h
SoxEndpoint::Open
bool Open(int rate, int nchan, std::string globalopts, std::string fileopts, std::string filename, std::string effectopts)
Definition: SoxEndpoint.cpp:14
SoxEndpoint::NextSample
void NextSample(double s)
Definition: SoxEndpoint.cpp:24
SampleCallback
Definition: SampleCallback.h:7
SoxEndpoint
Definition: SoxEndpoint.h:10