From a890dadfd2aeadf5bbacb4f10a896bbebe335c99 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 9 Jan 2013 08:44:20 +0100 Subject: test/run_decoder,read_tags: remove obsolete dummy functions --- test/read_tags.c | 21 --------------------- test/run_decoder.c | 21 --------------------- 2 files changed, 42 deletions(-) (limited to 'test') diff --git a/test/read_tags.c b/test/read_tags.c index 2471610e..43335ec2 100644 --- a/test/read_tags.c +++ b/test/read_tags.c @@ -24,11 +24,9 @@ #include "input_init.h" #include "input_stream.h" #include "audio_format.h" -#include "pcm_volume.h" #include "tag_ape.h" #include "tag_id3.h" #include "tag_handler.h" -#include "idle.h" #include @@ -40,25 +38,6 @@ #include #endif -/** - * No-op dummy. - */ -void -idle_add(G_GNUC_UNUSED unsigned flags) -{ -} - -/** - * No-op dummy. - */ -bool -pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED size_t length, - G_GNUC_UNUSED enum sample_format format, - G_GNUC_UNUSED int volume) -{ - return true; -} - void decoder_initialized(G_GNUC_UNUSED struct decoder *decoder, G_GNUC_UNUSED const struct audio_format *audio_format, diff --git a/test/run_decoder.c b/test/run_decoder.c index 3da5216d..d2f87c9a 100644 --- a/test/run_decoder.c +++ b/test/run_decoder.c @@ -24,8 +24,6 @@ #include "input_init.h" #include "input_stream.h" #include "audio_format.h" -#include "pcm_volume.h" -#include "idle.h" #include "stdbin.h" #include @@ -44,25 +42,6 @@ my_log_func(const gchar *log_domain, G_GNUC_UNUSED GLogLevelFlags log_level, g_printerr("%s\n", message); } -/** - * No-op dummy. - */ -void -idle_add(G_GNUC_UNUSED unsigned flags) -{ -} - -/** - * No-op dummy. - */ -bool -pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED size_t length, - G_GNUC_UNUSED enum sample_format format, - G_GNUC_UNUSED int volume) -{ - return true; -} - struct decoder { const char *uri; -- cgit v1.2.3