summaryrefslogtreecommitdiff
path: root/libs/ardour/export_profile_manager.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2018-11-19 05:21:17 +0100
committerRobin Gareus <robin@gareus.org>2018-11-19 05:21:17 +0100
commitdf72e1ba4f7e7dc0d67ea6c0fbdf157ee3777275 (patch)
tree035abd922b71e595eca6e466bc65a68578603b9b /libs/ardour/export_profile_manager.cc
parente4cbd5115e34ff99aa8c85b70870e6ca00ea14d6 (diff)
Initial backend support for external export encoder
This adds an experimental pipe to ffmpeg to encode mp3. Currently quality is hardcoded and various aspects remain to be implemented. However, it is sufficient for initial testing.
Diffstat (limited to 'libs/ardour/export_profile_manager.cc')
-rw-r--r--libs/ardour/export_profile_manager.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/ardour/export_profile_manager.cc b/libs/ardour/export_profile_manager.cc
index f99755e158..28cccde3cd 100644
--- a/libs/ardour/export_profile_manager.cc
+++ b/libs/ardour/export_profile_manager.cc
@@ -954,6 +954,8 @@ ExportProfileManager::check_format (ExportFormatSpecPtr format, uint32_t channel
switch (format->type()) {
case ExportFormatBase::T_Sndfile:
return check_sndfile_format (format, channels);
+ case ExportFormatBase::T_FFMPEG:
+ return true;
default:
throw ExportFailed (X_("Invalid format given for ExportFileFactory::check!"));