diff options
author | Robin Gareus <robin@gareus.org> | 2016-09-21 04:05:45 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-09-21 04:05:45 +0200 |
commit | aeb1c7121136008fad747d371b756314a3f7e944 (patch) | |
tree | 64204f01778a9697c6f3d05aa6e52f1372395a4a /libs/ardour/ardour | |
parent | 1acfb11cb663dbda25ec1f9fa920008171559ad9 (diff) |
Add option to flac encode audio when archiving
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/session.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libs/ardour/ardour/session.h b/libs/ardour/ardour/session.h index 93e3703665..213e9dcf4b 100644 --- a/libs/ardour/ardour/session.h +++ b/libs/ardour/ardour/session.h @@ -518,7 +518,13 @@ class LIBARDOUR_API Session : public PBD::StatefulDestructible, public PBD::Scop */ int save_state (std::string snapshot_name, bool pending = false, bool switch_to_snapshot = false, bool template_only = false); - int archive_session (const std::string&, const std::string&, Progress* p = 0); + enum ArchiveEncode { + NO_ENCODE, + FLAC_16BIT, + FLAC_24BIT + }; + + int archive_session (const std::string&, const std::string&, ArchiveEncode compress_audio = FLAC_16BIT, Progress* p = 0); int restore_state (std::string snapshot_name); int save_template (std::string template_name, bool replace_existing = false); |