Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
a890dadf
Commit
a890dadf
authored
Jan 09, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test/run_decoder,read_tags: remove obsolete dummy functions
parent
6b437458
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
42 deletions
+0
-42
read_tags.c
test/read_tags.c
+0
-21
run_decoder.c
test/run_decoder.c
+0
-21
No files found.
test/read_tags.c
View file @
a890dadf
...
...
@@ -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
,
...
...
test/run_decoder.c
View file @
a890dadf
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment