aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/read_tags.c21
-rw-r--r--test/run_decoder.c21
2 files changed, 0 insertions, 42 deletions
diff --git a/test/read_tags.c b/test/read_tags.c
index 2471610e6..43335ec2f 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 <glib.h>
@@ -40,25 +38,6 @@
#include <locale.h>
#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 3da5216d5..d2f87c9ae 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 <glib.h>
@@ -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;