Go to the documentation of this file. 1 #ifndef AUDICLEAN_WAVREADER_H
2 #define AUDICLEAN_WAVREADER_H
14 bool Open(
int rate,
int nchans, std::string globalopts, std::string fileopts, std::string filename);
15 std::thread *
Start(
int rate,
int nchans, std::string globalopts, std::string fileopts, std::string filename);
26 void NextSample(
float sample);
28 std::thread workerThread;
29 static int constexpr bufmax {64};
33 extern int get_wav_attr(std::string attr, std::string filename);
35 #endif //AUDICLEAN_WAVREADER_H
int get_wav_attr(std::string attr, std::string filename)
Definition: SoxReader.cpp:27
void ForceStop()
Definition: SoxReader.cpp:93
Definition: SampleLink.h:8
int GetSampleRate()
Definition: SoxReader.cpp:111
bool Open(int rate, int nchans, std::string globalopts, std::string fileopts, std::string filename)
Definition: SoxReader.cpp:52
Definition: SoxReader.h:12
void SetOn(bool val)
Definition: SoxReader.cpp:68
void Run()
Definition: SoxReader.cpp:75
std::thread * Start(int rate, int nchans, std::string globalopts, std::string fileopts, std::string filename)
Definition: SoxReader.cpp:16
int GetNumChannels()
Definition: SoxReader.cpp:104