1 #ifndef AUDIOGRAPHER_TMP_FILE_SYNC_H
2 #define AUDIOGRAPHER_TMP_FILE_SYNC_H
18 template<
typename T = DefaultSampleType>
35 using SndfileHandle::operator=;
bool has_flag(Flag flag) const
Base class for all classes using libsndfile.
int samplerate(void) const
virtual void process(ProcessContext< T > const &c)
Writes data to file.
A temporary file deleted after this class is destructed.
TmpFileSync(char *filename_template, int format, ChannelCount channels, samplecnt_t samplerate)
filename_template must match the requirements for mkstemp, i.e. end in "XXXXXX"
TmpFileSync(int format, ChannelCount channels, samplecnt_t samplerate)
TmpFileSync(TmpFileSync const &other)
void process(ProcessContext< T > const &c)
A temporary file deleted after this class is destructed.
PBD::Signal< void()> FileFlushed