# HG changeset patch # User Chris Cannam # Date 1536145030 -3600 # Node ID bb9cf19e0b676db384715cb5490c08cde33a3de3 # Parent c37e67a2ff17900101b041ca59d55e66d9c2a18e Treat every numeric column as a value when importing raw audio data diff -r c37e67a2ff17 -r bb9cf19e0b67 main/MainWindow.cpp --- a/main/MainWindow.cpp Tue Sep 04 14:19:32 2018 +0100 +++ b/main/MainWindow.cpp Wed Sep 05 11:57:10 2018 +0100 @@ -2897,6 +2897,11 @@ format.setSampleRate(rate); format.setTimingType(CSVFormat::ImplicitTiming); format.setTimeUnits(CSVFormat::TimeAudioFrames); + for (int i = 0; i < format.getColumnCount(); ++i) { + if (format.getColumnQualities()[i] & CSVFormat::ColumnNumeric) { + format.setColumnPurpose(i, CSVFormat::ColumnValue); + } + } FileOpenStatus status = FileOpenSucceeded; diff -r c37e67a2ff17 -r bb9cf19e0b67 repoint-lock.json --- a/repoint-lock.json Tue Sep 04 14:19:32 2018 +0100 +++ b/repoint-lock.json Wed Sep 05 11:57:10 2018 +0100 @@ -4,7 +4,7 @@ "pin": "da86fb0bccb3" }, "svcore": { - "pin": "b837ccdd4946" + "pin": "5f1b2a117a4f" }, "svgui": { "pin": "c2fa7bb1eca9"