annotate src/flac-1.2.1/include/share/grabbag/cuesheet.h @ 83:ae30d91d2ffe

Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author Chris Cannam
date Fri, 07 Feb 2020 11:51:13 +0000
parents 05aa0afa9217
children
rev   line source
Chris@1 1 /* grabbag - Convenience lib for various routines common to several tools
Chris@1 2 * Copyright (C) 2002,2003,2004,2005,2006,2007 Josh Coalson
Chris@1 3 *
Chris@1 4 * This library is free software; you can redistribute it and/or
Chris@1 5 * modify it under the terms of the GNU Lesser General Public
Chris@1 6 * License as published by the Free Software Foundation; either
Chris@1 7 * version 2.1 of the License, or (at your option) any later version.
Chris@1 8 *
Chris@1 9 * This library is distributed in the hope that it will be useful,
Chris@1 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Chris@1 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Chris@1 12 * Lesser General Public License for more details.
Chris@1 13 *
Chris@1 14 * You should have received a copy of the GNU Lesser General Public
Chris@1 15 * License along with this library; if not, write to the Free Software
Chris@1 16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Chris@1 17 */
Chris@1 18
Chris@1 19 /* This .h cannot be included by itself; #include "share/grabbag.h" instead. */
Chris@1 20
Chris@1 21 #ifndef GRABBAG__CUESHEET_H
Chris@1 22 #define GRABBAG__CUESHEET_H
Chris@1 23
Chris@1 24 #include <stdio.h>
Chris@1 25 #include "FLAC/metadata.h"
Chris@1 26
Chris@1 27 #ifdef __cplusplus
Chris@1 28 extern "C" {
Chris@1 29 #endif
Chris@1 30
Chris@1 31 unsigned grabbag__cuesheet_msf_to_frame(unsigned minutes, unsigned seconds, unsigned frames);
Chris@1 32 void grabbag__cuesheet_frame_to_msf(unsigned frame, unsigned *minutes, unsigned *seconds, unsigned *frames);
Chris@1 33
Chris@1 34 FLAC__StreamMetadata *grabbag__cuesheet_parse(FILE *file, const char **error_message, unsigned *last_line_read, FLAC__bool is_cdda, FLAC__uint64 lead_out_offset);
Chris@1 35
Chris@1 36 void grabbag__cuesheet_emit(FILE *file, const FLAC__StreamMetadata *cuesheet, const char *file_reference);
Chris@1 37
Chris@1 38 #ifdef __cplusplus
Chris@1 39 }
Chris@1 40 #endif
Chris@1 41
Chris@1 42 #endif