Blame include/share/grabbag/cuesheet.h

Packit Service 065837
/* grabbag - Convenience lib for various routines common to several tools
Packit Service 065837
 * Copyright (C) 2002-2009  Josh Coalson
Packit Service 065837
 * Copyright (C) 2011-2016  Xiph.Org Foundation
Packit Service 065837
 *
Packit Service 065837
 * This library is free software; you can redistribute it and/or
Packit Service 065837
 * modify it under the terms of the GNU Lesser General Public
Packit Service 065837
 * License as published by the Free Software Foundation; either
Packit Service 065837
 * version 2.1 of the License, or (at your option) any later version.
Packit Service 065837
 *
Packit Service 065837
 * This library is distributed in the hope that it will be useful,
Packit Service 065837
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 065837
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 065837
 * Lesser General Public License for more details.
Packit Service 065837
 *
Packit Service 065837
 * You should have received a copy of the GNU Lesser General Public
Packit Service 065837
 * License along with this library; if not, write to the Free Software
Packit Service 065837
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
Packit Service 065837
 */
Packit Service 065837
Packit Service 065837
/* This .h cannot be included by itself; #include "share/grabbag.h" instead. */
Packit Service 065837
Packit Service 065837
#ifndef GRABBAG__CUESHEET_H
Packit Service 065837
#define GRABBAG__CUESHEET_H
Packit Service 065837
Packit Service 065837
#include <stdio.h>
Packit Service 065837
#include "FLAC/metadata.h"
Packit Service 065837
Packit Service 065837
#ifdef __cplusplus
Packit Service 065837
extern "C" {
Packit Service 065837
#endif
Packit Service 065837
Packit Service 065837
unsigned grabbag__cuesheet_msf_to_frame(unsigned minutes, unsigned seconds, unsigned frames);
Packit Service 065837
void grabbag__cuesheet_frame_to_msf(unsigned frame, unsigned *minutes, unsigned *seconds, unsigned *frames);
Packit Service 065837
Packit Service 065837
FLAC__StreamMetadata *grabbag__cuesheet_parse(FILE *file, const char **error_message, unsigned *last_line_read, unsigned sample_rate, FLAC__bool is_cdda, FLAC__uint64 lead_out_offset);
Packit Service 065837
Packit Service 065837
void grabbag__cuesheet_emit(FILE *file, const FLAC__StreamMetadata *cuesheet, const char *file_reference);
Packit Service 065837
Packit Service 065837
#ifdef __cplusplus
Packit Service 065837
}
Packit Service 065837
#endif
Packit Service 065837
Packit Service 065837
#endif