Refactor TmpFile into an abstract base class
authorRobin Gareus <robin@gareus.org>
Fri, 15 Jul 2016 15:03:07 +0000 (17:03 +0200)
committerRobin Gareus <robin@gareus.org>
Sat, 16 Jul 2016 00:14:13 +0000 (02:14 +0200)
commit77687519b69f39aaa2354f4c9945958fc1c630fe
tree36ed0f367bc81cccaba0ed01d837c56ff2fea072
parent6626723880e6d464bf8d59178120d191a8423c93
Refactor TmpFile into an abstract base class

This allows a TmpFile pointer to be either a Sync or Async (Threaded)
writer. As result we must be able to handle both RT and non RT processing.

Still, post-processing (normalization and encoding) should always
happen faster than realtime (freewheeling).

Since jack does not allow a client to change to freewheeling from within
the process-callback, the async-writer disk-thread FileFlushed is used
to initiate post-processing.
libs/ardour/ardour/export_graph_builder.h
libs/ardour/export_graph_builder.cc
libs/ardour/export_handler.cc
libs/ardour/session_export.cc
libs/audiographer/audiographer/sndfile/sndfile_writer.h
libs/audiographer/audiographer/sndfile/tmp_file.h
libs/audiographer/audiographer/sndfile/tmp_file_rt.h
libs/audiographer/audiographer/sndfile/tmp_file_sync.h [new file with mode: 0644]