From 67bf4b448dad25f2f0c60451f53fcacb0a0bde15 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 26 Aug 2008 08:27:07 +0200 Subject: added decoder_get_url() The wavpack decoder plugin implements a hack, and it needs the song URL for that. This API (and the hack) should be revised later, but add that function for now. --- src/decoder_api.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/decoder_api.h') diff --git a/src/decoder_api.h b/src/decoder_api.h index 3781d79d2..c73066913 100644 --- a/src/decoder_api.h +++ b/src/decoder_api.h @@ -103,6 +103,8 @@ void decoder_initialized(struct decoder * decoder, const AudioFormat * audio_format, float total_time); +const char *decoder_get_url(struct decoder * decoder, char * buffer); + enum decoder_command decoder_get_command(struct decoder * decoder); /** -- cgit v1.2.3