Commit a890dadf authored by Max Kellermann's avatar Max Kellermann

test/run_decoder,read_tags: remove obsolete dummy functions

parent 6b437458
......@@ -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,
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment