comparison data/fileio/CSVFileWriter.cpp @ 1815:c546429d4c2f

Add optional ability to write a header on delimited data output, & to write times in frames
author Chris Cannam
date Fri, 10 Jan 2020 14:29:54 +0000
parents 6e9615bde1f9
children fd5a87f3c5b4
comparison
equal deleted inserted replaced
1814:1318e069906b 1815:c546429d4c2f
83 return; 83 return;
84 } 84 }
85 85
86 QTextStream out(&file); 86 QTextStream out(&file);
87 87
88 // out << m_model->getDelimitedDataHeaderLine(m_delimiter, m_options)
89 // << endl;
90
88 sv_frame_t blockSize = 65536; 91 sv_frame_t blockSize = 65536;
89 92
90 if (m_model->isSparse()) { 93 if (m_model->isSparse()) {
91 // Write the whole in one go, as re-seeking for each block 94 // Write the whole in one go, as re-seeking for each block
92 // may be very costly otherwise 95 // may be very costly otherwise