From bad350bc18ab81661253bf42245b9e3fa175d026 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 25 Dec 2009 19:47:33 +0100 Subject: decoder_api: added function decoder_timestamp() Remove the data_time parameter from decoder_data(). This patch eliminates the timestamp counting in most decoder plugins, because the MPD core will do it automatically by default. --- src/decoder/wildmidi_plugin.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/decoder/wildmidi_plugin.c') diff --git a/src/decoder/wildmidi_plugin.c b/src/decoder/wildmidi_plugin.c index 70b4d5ef9..0392c06b9 100644 --- a/src/decoder/wildmidi_plugin.c +++ b/src/decoder/wildmidi_plugin.c @@ -92,8 +92,6 @@ wildmidi_file_decode(struct decoder *decoder, const char *path_fs) break; cmd = decoder_data(decoder, NULL, buffer, len, - (float)info->current_sample / - (float)WILDMIDI_SAMPLE_RATE, 0, NULL); if (cmd == DECODE_COMMAND_SEEK) { -- cgit v1.2.3