aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder/_flac_common.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-11 07:50:40 +0100
committerMax Kellermann <max@duempel.org>2009-11-11 07:50:40 +0100
commitf6e7dffada2e98a38a61eb54494e32dab1391480 (patch)
tree44ba42978f26f656b15da6746874bafee67ecc31 /src/decoder/_flac_common.h
parent43549db718f4d3f8fb5809f5bf4dd0e0903e8b04 (diff)
downloadmpd-f6e7dffada2e98a38a61eb54494e32dab1391480.tar.gz
mpd-f6e7dffada2e98a38a61eb54494e32dab1391480.tar.xz
mpd-f6e7dffada2e98a38a61eb54494e32dab1391480.zip
decoder/flac: moved code to flac_metadata.c
Diffstat (limited to '')
-rw-r--r--src/decoder/_flac_common.h11
1 files changed, 0 insertions, 11 deletions
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[]);