don't add a [shared] panner for the sends to monitoing section
[ardour.git] / libs / ardour / ardour / export_format_specification.h
index 52ed9769a781cd4e655505297186136f6ec27a1c..fc03eb94b073ba2f729d2ee35025745d3222ebb9 100644 (file)
@@ -47,7 +47,7 @@ class ExportFormatSpecification : public ExportFormatBase {
                Time (Session & session) : AnyTime (), session (session) {}
                Time & operator= (AnyTime const & other);
 
-               framecnt_t get_frames (framecnt_t target_rate) const;
+               framecnt_t get_frames_at (framepos_t position, framecnt_t target_rate) const;
 
                /* Serialization */
 
@@ -64,7 +64,7 @@ class ExportFormatSpecification : public ExportFormatBase {
        ExportFormatSpecification (Session & s, XMLNode const & state);
 
   public:
-       ExportFormatSpecification (ExportFormatSpecification const & other);
+       ExportFormatSpecification (ExportFormatSpecification const & other, bool modify_name = true);
        ~ExportFormatSpecification ();
 
        /* compatibility */
@@ -93,6 +93,8 @@ class ExportFormatSpecification : public ExportFormatBase {
        void set_normalize_target (float value) { _normalize_target = value; }
 
        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_silence_beginning (AnyTime const & value) { _silence_beginning = value; }
        void set_silence_end (AnyTime const & value) { _silence_end = value; }
@@ -101,7 +103,7 @@ class ExportFormatSpecification : public ExportFormatBase {
 
        PBD::UUID const & id () { return _id; }
        std::string const & name () const { return _name; }
-       std::string description ();
+       std::string description (bool include_name = true);
 
        bool has_broadcast_info () const { return _has_broadcast_info; }
        uint32_t channel_limit () const { return _channel_limit; }
@@ -120,14 +122,15 @@ class ExportFormatSpecification : public ExportFormatBase {
        bool trim_end () const { return _trim_end; }
        bool normalize () const { return _normalize; }
        float normalize_target () const { return _normalize_target; }
+       bool with_toc() const { return _with_toc; }
+       bool with_cue() const { return _with_cue; }
 
        bool tag () const { return _tag && supports_tagging; }
 
-       framecnt_t silence_beginning () const { return _silence_beginning.get_frames (sample_rate()); }
-       framecnt_t silence_end () const { return _silence_end.get_frames (sample_rate()); }
-
-       framecnt_t silence_beginning (framecnt_t samplerate) const { return _silence_beginning.get_frames (samplerate); }
-       framecnt_t silence_end (framecnt_t samplerate) const { return _silence_end.get_frames (samplerate); }
+       framecnt_t silence_beginning_at (framepos_t position, framecnt_t samplerate) const
+               { return _silence_beginning.get_frames_at (position, samplerate); }
+       framecnt_t silence_end_at (framepos_t position, framecnt_t samplerate) const
+               { return _silence_end.get_frames_at (position, samplerate); }
 
        AnyTime silence_beginning_time () const { return _silence_beginning; }
        AnyTime silence_end_time () const { return _silence_end; }
@@ -168,6 +171,8 @@ class ExportFormatSpecification : public ExportFormatBase {
 
        bool            _normalize;
        float           _normalize_target;
+       bool            _with_toc;
+       bool            _with_cue;
 
        /* serialization helpers */