diff options
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/export_format_manager.h | 1 | ||||
-rw-r--r-- | libs/ardour/ardour/export_format_specification.h | 4 | ||||
-rw-r--r-- | libs/ardour/ardour/export_handler.h | 5 | ||||
-rw-r--r-- | libs/ardour/ardour/types.h | 3 |
4 files changed, 12 insertions, 1 deletions
diff --git a/libs/ardour/ardour/export_format_manager.h b/libs/ardour/ardour/export_format_manager.h index dad7d84b72..fff97299e5 100644 --- a/libs/ardour/ardour/export_format_manager.h +++ b/libs/ardour/ardour/export_format_manager.h @@ -100,6 +100,7 @@ class LIBARDOUR_API ExportFormatManager : public PBD::ScopedConnectionList void select_with_cue (bool); void select_with_toc (bool); + void select_with_mp4chaps (bool); void select_upload (bool); void set_command (std::string); void select_src_quality (ExportFormatBase::SRCQuality value); diff --git a/libs/ardour/ardour/export_format_specification.h b/libs/ardour/ardour/export_format_specification.h index 2a62d792f0..ed6e259644 100644 --- a/libs/ardour/ardour/export_format_specification.h +++ b/libs/ardour/ardour/export_format_specification.h @@ -96,6 +96,7 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase { void set_tag (bool tag_it) { _tag = tag_it; } void set_with_cue (bool yn) { _with_cue = yn; } void set_with_toc (bool yn) { _with_toc = yn; } + void set_with_mp4chaps (bool yn) { _with_mp4chaps = yn; } void set_soundcloud_upload (bool yn) { _soundcloud_upload = yn; } void set_command (std::string command) { _command = command; } @@ -127,6 +128,8 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase { float normalize_target () const { return _normalize_target; } bool with_toc() const { return _with_toc; } bool with_cue() const { return _with_cue; } + bool with_mp4chaps() const { return _with_mp4chaps; } + bool soundcloud_upload() const { return _soundcloud_upload; } std::string command() const { return _command; } @@ -178,6 +181,7 @@ class LIBARDOUR_API ExportFormatSpecification : public ExportFormatBase { float _normalize_target; bool _with_toc; bool _with_cue; + bool _with_mp4chaps; bool _soundcloud_upload; std::string _command; diff --git a/libs/ardour/ardour/export_handler.h b/libs/ardour/ardour/export_handler.h index 8336cea732..526d32b4c6 100644 --- a/libs/ardour/ardour/export_handler.h +++ b/libs/ardour/ardour/export_handler.h @@ -185,14 +185,19 @@ class LIBARDOUR_API ExportHandler : public ExportElementFactory, public sigc::tr void write_cue_header (CDMarkerStatus & status); void write_toc_header (CDMarkerStatus & status); + void write_mp4ch_header (CDMarkerStatus & status); void write_track_info_cue (CDMarkerStatus & status); void write_track_info_toc (CDMarkerStatus & status); + void write_track_info_mp4ch (CDMarkerStatus & status); void write_index_info_cue (CDMarkerStatus & status); void write_index_info_toc (CDMarkerStatus & status); + void write_index_info_mp4ch (CDMarkerStatus & status); void frames_to_cd_frames_string (char* buf, framepos_t when); + void frames_to_chapter_marks_string (char* buf, framepos_t when); + std::string toc_escape_cdtext (const std::string&); std::string toc_escape_filename (const std::string&); std::string cue_escape_cdtext (const std::string& txt); diff --git a/libs/ardour/ardour/types.h b/libs/ardour/ardour/types.h index 921cb3e39a..b0fb9faa9c 100644 --- a/libs/ardour/ardour/types.h +++ b/libs/ardour/ardour/types.h @@ -461,7 +461,8 @@ namespace ARDOUR { enum CDMarkerFormat { CDMarkerNone, CDMarkerCUE, - CDMarkerTOC + CDMarkerTOC, + MP4Chaps }; enum HeaderFormat { |