20 #ifndef __SYNTHCLONE_SAMPLECOPIER_H__ 21 #define __SYNTHCLONE_SAMPLECOPIER_H__ Utility class that copies Sample data from a SampleInputStream to a SampleOutputStream, emitting SampleCopier::copyProgress events as it goes along.
Definition: samplecopier.h:34
void copyProgress(synthclone::SampleFrameCount framesCopied, synthclone::SampleFrameCount totalFrames)
Emitted when frames are being copied.
Definition: component.h:26
~SampleCopier()
Destroys the SampleCopier object.
qint64 SampleFrameCount
Holds a count of sample frames, or an offset with sample frames.
Definition: types.h:90
SampleFrameCount copy(SampleInputStream &inputStream, SampleOutputStream &outputStream, SampleFrameCount frames)
Copies data from a SampleInputStream to a SampleOutputStream.
SampleCopier(QObject *parent=0)
Constructs a new SampleCopier.
Used to write sample data to a sample file.
Definition: sampleoutputstream.h:34