test/run_decoder,read_tags: remove obsolete dummy functions
This commit is contained in:
parent
6b4374583a
commit
a890dadfd2
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user