From f6e7dffada2e98a38a61eb54494e32dab1391480 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 11 Nov 2009 07:50:40 +0100 Subject: decoder/flac: moved code to flac_metadata.c --- src/decoder/_flac_common.h | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/decoder/_flac_common.h') diff --git a/src/decoder/_flac_common.h b/src/decoder/_flac_common.h index 5f83acc70..e0ddc6027 100644 --- a/src/decoder/_flac_common.h +++ b/src/decoder/_flac_common.h @@ -159,13 +159,6 @@ struct flac_data { struct tag *tag; }; -static inline unsigned -flac_duration(const FLAC__StreamMetadata_StreamInfo *stream_info) -{ - return (stream_info->total_samples + stream_info->sample_rate - 1) / - stream_info->sample_rate; -} - /* initializes a given FlacData struct */ void flac_data_init(struct flac_data *data, struct decoder * decoder, @@ -181,10 +174,6 @@ void flac_error_common_cb(const char *plugin, FLAC__StreamDecoderErrorStatus status, struct flac_data *data); -void -flac_tag_apply_metadata(struct tag *tag, const char *track, - const FLAC__StreamMetadata *block); - FLAC__StreamDecoderWriteStatus flac_common_write(struct flac_data *data, const FLAC__Frame * frame, const FLAC__int32 *const buf[]); -- cgit v1.2.3