try to fix data loss at end of a capture pass for MIDI - add a new virtual method...
[ardour.git] / libs / ardour / ardour / export_formats.h
index 03585f79a966afed24ea2aef16245e6b07f5c76c..0e9a93ff9656c5a5b5009645fbace3ef3f3c7511 100644 (file)
@@ -91,8 +91,11 @@ class HasSampleFormat : public PBD::ScopedConnectionList {
 
        class SampleFormatState : public ExportFormatBase::SelectableCompatible {
          public:
-               SampleFormatState (ExportFormatBase::SampleFormat format, Glib::ustring name) :
-                 format (format) { set_name (name); }
+               SampleFormatState (ExportFormatBase::SampleFormat format, std::string name)
+                       : format (format)
+               {
+                       set_name (name);
+               }
 
                ExportFormatBase::SampleFormat  format;
        };
@@ -145,7 +148,7 @@ class HasSampleFormat : public PBD::ScopedConnectionList {
   private:
        /* Connected to signals */
 
-       void add_dither_type (ExportFormatBase::DitherType type, Glib::ustring name);
+       void add_dither_type (ExportFormatBase::DitherType type, std::string name);
        void update_sample_format_selection (bool);
        void update_dither_type_selection (bool);
 
@@ -156,7 +159,7 @@ class HasSampleFormat : public PBD::ScopedConnectionList {
 class ExportFormatLinear : public ExportFormat, public HasSampleFormat {
   public:
 
-       ExportFormatLinear (Glib::ustring name, FormatId format_id);
+       ExportFormatLinear (std::string name, FormatId format_id);
        ~ExportFormatLinear () {};
 
        bool set_compatibility_state (ExportFormatCompatibility const & compatibility);