Mercurial > hg > svcore
comparison data/model/SparseOneDimensionalModel.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 |
comparison
equal
deleted
inserted
replaced
1678:1078f0ef3012 | 1679:0d89abd631ac |
---|---|
288 .arg(m_events.getExportId()) | 288 .arg(m_events.getExportId()) |
289 .arg(extraAttributes)); | 289 .arg(extraAttributes)); |
290 | 290 |
291 m_events.toXml(out, indent, QString("dimensions=\"1\"")); | 291 m_events.toXml(out, indent, QString("dimensions=\"1\"")); |
292 } | 292 } |
293 | |
294 QString toDelimitedDataString(QString delimiter, | |
295 DataExportOptions options, | |
296 sv_frame_t startFrame, | |
297 sv_frame_t duration) const override { | |
298 return m_events.toDelimitedDataString(delimiter, | |
299 options, | |
300 startFrame, | |
301 duration, | |
302 m_sampleRate, | |
303 m_resolution, | |
304 Event()); | |
305 } | |
293 | 306 |
294 protected: | 307 protected: |
295 sv_samplerate_t m_sampleRate; | 308 sv_samplerate_t m_sampleRate; |
296 int m_resolution; | 309 int m_resolution; |
297 | 310 |