Chris@1060: /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */ Chris@1060: Chris@1060: /* Chris@1060: Sonic Visualiser Chris@1060: An audio file viewer and annotation editor. Chris@1060: Centre for Digital Music, Queen Mary, University of London. Chris@1060: Chris@1060: This program is free software; you can redistribute it and/or Chris@1060: modify it under the terms of the GNU General Public License as Chris@1060: published by the Free Software Foundation; either version 2 of the Chris@1060: License, or (at your option) any later version. See the file Chris@1060: COPYING included with this distribution for more information. Chris@1060: */ Chris@1060: Chris@1060: #ifndef DATA_EXPORT_OPTIONS_H Chris@1060: #define DATA_EXPORT_OPTIONS_H Chris@1060: Chris@1060: enum DataExportOption Chris@1060: { Chris@1060: DataExportDefaults = 0x0, Chris@1816: Chris@1816: /** Chris@1816: * Export sparse event-based models as if they were dense models, Chris@1816: * writing an event at every interval of the model's Chris@1816: * resolution. Where no event is present in the actual model, a Chris@1816: * constant "fill event" is interpolated instead. Chris@1816: */ Chris@1060: DataExportFillGaps = 0x1, Chris@1816: Chris@1816: /** Chris@1816: * Omit the level attribute from exported events. Chris@1816: */ Chris@1816: DataExportOmitLevel = 0x2, Chris@1816: Chris@1816: /** Chris@1816: * Always include a timestamp in the first column. Otherwise Chris@1816: * timestamps will only be included in sparse models. Chris@1816: */ Chris@1816: DataExportAlwaysIncludeTimestamp = 0x4, Chris@1816: Chris@1816: /** Chris@1816: * Use sample frames rather than seconds for time and duration Chris@1816: * values. Chris@1816: */ Chris@1816: DataExportWriteTimeInFrames = 0x8, Chris@1816: Chris@1816: /** Chris@1816: * Write a header row before any data rows. Chris@1816: */ Chris@1816: DataExportIncludeHeader = 0x10 Chris@1060: }; Chris@1060: Chris@1060: typedef int DataExportOptions; Chris@1060: Chris@1060: #endif