29 lines
594 B
C++
29 lines
594 B
C++
|
|
||
|
#ifndef LUPPP_DISK_WRITER_H
|
||
|
#define LUPPP_DISK_WRITER_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
class AudioBuffer;
|
||
|
|
||
|
/** DiskWriter
|
||
|
* This class writes soundfiles to disk, and keeps track of which filename was
|
||
|
* in which track/scene combo in the grid. This metadata is then written to the
|
||
|
* <sessionName>.luppp file.
|
||
|
**/
|
||
|
class DiskWriter
|
||
|
{
|
||
|
public:
|
||
|
DiskWriter();
|
||
|
|
||
|
/// writes a single audio buffer to disk
|
||
|
void writeAudioBuffer(int track, int scene, AudioBuffer* ab );
|
||
|
|
||
|
void writeSession( std::string path, std::string sessionName );
|
||
|
|
||
|
private:
|
||
|
|
||
|
};
|
||
|
|
||
|
#endif // LUPPP_DISK_WRITER_H
|