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
7c7b0431
Commit
7c7b0431
authored
Nov 24, 2008
by
Thomas Jansen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder_api.c: replaced mpd_unused by G_GNUC_UNUSED
parent
c6a63f13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
decoder_api.c
src/decoder_api.c
+7
-6
No files found.
src/decoder_api.c
View file @
7c7b0431
...
...
@@ -26,9 +26,9 @@
#include "utils.h"
#include "normalize.h"
#include "pipe.h"
#include "gcc.h"
#include <assert.h>
#include <glib.h>
void
decoder_initialized
(
struct
decoder
*
decoder
,
const
struct
audio_format
*
audio_format
,
...
...
@@ -54,17 +54,18 @@ void decoder_initialized(struct decoder * decoder,
notify_signal
(
&
pc
.
notify
);
}
const
char
*
decoder_get_url
(
mpd_unused
struct
decoder
*
decoder
,
char
*
buffer
)
const
char
*
decoder_get_url
(
G_GNUC_UNUSED
struct
decoder
*
decoder
,
char
*
buffer
)
{
return
song_get_url
(
dc
.
current_song
,
buffer
);
}
enum
decoder_command
decoder_get_command
(
mpd_unused
struct
decoder
*
decoder
)
enum
decoder_command
decoder_get_command
(
G_GNUC_UNUSED
struct
decoder
*
decoder
)
{
return
dc
.
command
;
}
void
decoder_command_finished
(
mpd_unused
struct
decoder
*
decoder
)
void
decoder_command_finished
(
G_GNUC_UNUSED
struct
decoder
*
decoder
)
{
assert
(
dc
.
command
!=
DECODE_COMMAND_NONE
);
assert
(
dc
.
command
!=
DECODE_COMMAND_SEEK
||
...
...
@@ -78,7 +79,7 @@ void decoder_command_finished(mpd_unused struct decoder * decoder)
notify_signal
(
&
pc
.
notify
);
}
double
decoder_seek_where
(
mpd_unused
struct
decoder
*
decoder
)
double
decoder_seek_where
(
G_GNUC_UNUSED
struct
decoder
*
decoder
)
{
assert
(
dc
.
command
==
DECODE_COMMAND_SEEK
);
...
...
@@ -275,7 +276,7 @@ decoder_data(struct decoder *decoder,
}
enum
decoder_command
decoder_tag
(
mpd_unused
struct
decoder
*
decoder
,
struct
input_stream
*
is
,
decoder_tag
(
G_GNUC_UNUSED
struct
decoder
*
decoder
,
struct
input_stream
*
is
,
const
struct
tag
*
tag
)
{
struct
tag
*
tag2
=
is
!=
NULL
?
tag_add_stream_tags
(
tag
,
is
)
:
NULL
;
...
...
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