Mercurial > hg > svcore
diff data/model/ImageModel.h @ 1679:0d89abd631ac single-point
Re-add the toDelimitedDataString stuff
author | Chris Cannam |
---|---|
date | Thu, 28 Mar 2019 16:03:36 +0000 |
parents | f97d64b8674f |
children | 73077ec5aed6 |
line wrap: on
line diff
--- a/data/model/ImageModel.h Thu Mar 28 13:37:09 2019 +0000 +++ b/data/model/ImageModel.h Thu Mar 28 16:03:36 2019 +0000 @@ -261,7 +261,20 @@ m_events.toXml(out, indent, QString("dimensions=\"1\""), options); } - + + QString toDelimitedDataString(QString delimiter, + DataExportOptions options, + sv_frame_t startFrame, + sv_frame_t duration) const override { + return m_events.toDelimitedDataString(delimiter, + options, + startFrame, + duration, + m_sampleRate, + m_resolution, + Event().withValue(0.f)); + } + protected: sv_samplerate_t m_sampleRate; int m_resolution;