annotate base/DataExportOptions.h @ 1288:5ef9b4d4bbdb 3.0-integration

Filter out Xing/LAME info frames, rather than letting them go to the mp3 decoder as if they were audio frames. Fixes the 1152-sample zero pad at start of some decoded mp3 files (distinct from decoder delay). The logic here is based on the madplay code.
author Chris Cannam
date Thu, 24 Nov 2016 13:32:04 +0000
parents 57633d605547
children c546429d4c2f
rev   line source
Chris@1060 1 /* -*- c-basic-offset: 4 indent-tabs-mode: nil -*- vi:set ts=8 sts=4 sw=4: */
Chris@1060 2
Chris@1060 3 /*
Chris@1060 4 Sonic Visualiser
Chris@1060 5 An audio file viewer and annotation editor.
Chris@1060 6 Centre for Digital Music, Queen Mary, University of London.
Chris@1060 7
Chris@1060 8 This program is free software; you can redistribute it and/or
Chris@1060 9 modify it under the terms of the GNU General Public License as
Chris@1060 10 published by the Free Software Foundation; either version 2 of the
Chris@1060 11 License, or (at your option) any later version. See the file
Chris@1060 12 COPYING included with this distribution for more information.
Chris@1060 13 */
Chris@1060 14
Chris@1060 15 #ifndef DATA_EXPORT_OPTIONS_H
Chris@1060 16 #define DATA_EXPORT_OPTIONS_H
Chris@1060 17
Chris@1060 18 enum DataExportOption
Chris@1060 19 {
Chris@1060 20 DataExportDefaults = 0x0,
Chris@1060 21 DataExportFillGaps = 0x1,
Chris@1060 22 DataExportOmitLevels = 0x2,
Chris@1060 23 };
Chris@1060 24
Chris@1060 25 typedef int DataExportOptions;
Chris@1060 26
Chris@1060 27 #endif