+struct ExportSettings
+{
+ ExportSettings ()
+ : _samplerate (0)
+ , _sample_format (ExportFormatBase::SF_16)
+ , _normalize (false)
+ , _bwf (false)
+ {}
+
+ std::string samplerate () const
+ {
+ stringstream ss;
+ ss << _samplerate;
+ return ss.str();
+ }
+
+ std::string sample_format () const
+ {
+ return enum_2_string (_sample_format);
+ }
+
+ std::string normalize () const
+ {
+ return _normalize ? "true" : "false";
+ }
+
+ std::string bwf () const
+ {
+ return _bwf ? "true" : "false";
+ }
+
+ int _samplerate;
+ ExportFormatBase::SampleFormat _sample_format;
+ bool _normalize;
+ bool _bwf;
+};
+