Clean up a couple of warning notices on this file

There were several warnings due to the capitalization of the header
paths, and due to unused functions that are only required by the text
CUESheet parser, and we're only using the CUESheet generator, which has
been heavily modified to emit NSString output rather than a file on
disk.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
CQTexperiment
Christopher Snowhill 2022-02-26 01:11:50 -08:00
parent 0f10543566
commit 6b53a87784
1 changed files with 3 additions and 3 deletions

View File

@ -22,8 +22,8 @@
#include <stdlib.h>
#include <string.h>
#include <flac/FLAC_assert.h>
#include <flac/all.h>
#include <FLAC/FLAC_assert.h>
#include <FLAC/all.h>
uint32_t grabbag__cuesheet_msf_to_frame(uint32_t minutes, uint32_t seconds, uint32_t frames) {
return ((minutes * 60) + seconds) * 75 + frames;
@ -37,6 +37,7 @@ void grabbag__cuesheet_frame_to_msf(uint32_t frame, uint32_t *minutes, uint32_t
*minutes = frame;
}
#if 0
/* since we only care about values >= 0 or error, returns < 0 for any illegal string, else value */
static int local__parse_int_(const char *s) {
int ret = 0;
@ -225,7 +226,6 @@ static char *local__get_field_(char **s, FLAC__bool allow_quotes) {
return p;
}
#if 0
static FLAC__bool local__cuesheet_parse_(FILE *file, const char **error_message, uint32_t *last_line_read, FLAC__StreamMetadata *cuesheet, uint32_t sample_rate, FLAC__bool is_cdda, FLAC__uint64 lead_out_offset)
{
char buffer[4096], *line, *field;