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
0bd0e2a3
Commit
0bd0e2a3
authored
Sep 17, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output: rename plugin variables
Consistent naming.
parent
47774ce8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
11 additions
and
11 deletions
+11
-11
alsa_output_plugin.c
src/output/alsa_output_plugin.c
+1
-1
alsa_output_plugin.h
src/output/alsa_output_plugin.h
+1
-1
osx_output_plugin.c
src/output/osx_output_plugin.c
+1
-1
raop_output_plugin.c
src/output/raop_output_plugin.c
+1
-1
raop_output_plugin.h
src/output/raop_output_plugin.h
+1
-1
shout_output_plugin.c
src/output/shout_output_plugin.c
+1
-1
shout_output_plugin.h
src/output/shout_output_plugin.h
+1
-1
output_list.c
src/output_list.c
+4
-4
No files found.
src/output/alsa_output_plugin.c
View file @
0bd0e2a3
...
@@ -669,7 +669,7 @@ alsa_play(void *data, const void *chunk, size_t size, GError **error)
...
@@ -669,7 +669,7 @@ alsa_play(void *data, const void *chunk, size_t size, GError **error)
}
}
}
}
const
struct
audio_output_plugin
alsa
P
lugin
=
{
const
struct
audio_output_plugin
alsa
_output_p
lugin
=
{
.
name
=
"alsa"
,
.
name
=
"alsa"
,
.
test_default_device
=
alsa_test_default_device
,
.
test_default_device
=
alsa_test_default_device
,
.
init
=
alsa_init
,
.
init
=
alsa_init
,
...
...
src/output/alsa_output_plugin.h
View file @
0bd0e2a3
...
@@ -20,6 +20,6 @@
...
@@ -20,6 +20,6 @@
#ifndef MPD_ALSA_OUTPUT_PLUGIN_H
#ifndef MPD_ALSA_OUTPUT_PLUGIN_H
#define MPD_ALSA_OUTPUT_PLUGIN_H
#define MPD_ALSA_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
alsa
P
lugin
;
extern
const
struct
audio_output_plugin
alsa
_output_p
lugin
;
#endif
#endif
src/output/osx_output_plugin.c
View file @
0bd0e2a3
...
@@ -418,7 +418,7 @@ osx_output_play(void *data, const void *chunk, size_t size,
...
@@ -418,7 +418,7 @@ osx_output_play(void *data, const void *chunk, size_t size,
return
nbytes
;
return
nbytes
;
}
}
const
struct
audio_output_plugin
osx
P
lugin
=
{
const
struct
audio_output_plugin
osx
_output_p
lugin
=
{
.
name
=
"osx"
,
.
name
=
"osx"
,
.
test_default_device
=
osx_output_test_default_device
,
.
test_default_device
=
osx_output_test_default_device
,
.
init
=
osx_output_init
,
.
init
=
osx_output_init
,
...
...
src/output/raop_output_plugin.c
View file @
0bd0e2a3
...
@@ -1031,7 +1031,7 @@ raop_output_play(void *data, const void *chunk, size_t size,
...
@@ -1031,7 +1031,7 @@ raop_output_play(void *data, const void *chunk, size_t size,
return
rval
;
return
rval
;
}
}
const
struct
audio_output_plugin
raop
P
lugin
=
{
const
struct
audio_output_plugin
raop
_output_p
lugin
=
{
.
name
=
"raop"
,
.
name
=
"raop"
,
.
init
=
raop_output_init
,
.
init
=
raop_output_init
,
.
finish
=
raop_output_finish
,
.
finish
=
raop_output_finish
,
...
...
src/output/raop_output_plugin.h
View file @
0bd0e2a3
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
struct
raop_data
;
struct
raop_data
;
extern
const
struct
audio_output_plugin
raop
P
lugin
;
extern
const
struct
audio_output_plugin
raop
_output_p
lugin
;
bool
bool
raop_set_volume
(
struct
raop_data
*
rd
,
unsigned
volume
,
GError
**
error_r
);
raop_set_volume
(
struct
raop_data
*
rd
,
unsigned
volume
,
GError
**
error_r
);
...
...
src/output/shout_output_plugin.c
View file @
0bd0e2a3
...
@@ -551,7 +551,7 @@ static void my_shout_set_tag(void *data,
...
@@ -551,7 +551,7 @@ static void my_shout_set_tag(void *data,
write_page
(
sd
,
NULL
);
write_page
(
sd
,
NULL
);
}
}
const
struct
audio_output_plugin
shout
P
lugin
=
{
const
struct
audio_output_plugin
shout
_output_p
lugin
=
{
.
name
=
"shout"
,
.
name
=
"shout"
,
.
init
=
my_shout_init_driver
,
.
init
=
my_shout_init_driver
,
.
finish
=
my_shout_finish_driver
,
.
finish
=
my_shout_finish_driver
,
...
...
src/output/shout_output_plugin.h
View file @
0bd0e2a3
...
@@ -20,6 +20,6 @@
...
@@ -20,6 +20,6 @@
#ifndef MPD_SHOUT_OUTPUT_PLUGIN_H
#ifndef MPD_SHOUT_OUTPUT_PLUGIN_H
#define MPD_SHOUT_OUTPUT_PLUGIN_H
#define MPD_SHOUT_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
shout
P
lugin
;
extern
const
struct
audio_output_plugin
shout
_output_p
lugin
;
#endif
#endif
src/output_list.c
View file @
0bd0e2a3
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
const
struct
audio_output_plugin
*
audio_output_plugins
[]
=
{
const
struct
audio_output_plugin
*
audio_output_plugins
[]
=
{
#ifdef HAVE_SHOUT
#ifdef HAVE_SHOUT
&
shout
P
lugin
,
&
shout
_output_p
lugin
,
#endif
#endif
&
null_output_plugin
,
&
null_output_plugin
,
#ifdef HAVE_FIFO
#ifdef HAVE_FIFO
...
@@ -52,7 +52,7 @@ const struct audio_output_plugin *audio_output_plugins[] = {
...
@@ -52,7 +52,7 @@ const struct audio_output_plugin *audio_output_plugins[] = {
&
pipe_output_plugin
,
&
pipe_output_plugin
,
#endif
#endif
#ifdef HAVE_ALSA
#ifdef HAVE_ALSA
&
alsa
P
lugin
,
&
alsa
_output_p
lugin
,
#endif
#endif
#ifdef HAVE_ROAR
#ifdef HAVE_ROAR
&
roar_output_plugin
,
&
roar_output_plugin
,
...
@@ -67,10 +67,10 @@ const struct audio_output_plugin *audio_output_plugins[] = {
...
@@ -67,10 +67,10 @@ const struct audio_output_plugin *audio_output_plugins[] = {
&
openal_output_plugin
,
&
openal_output_plugin
,
#endif
#endif
#ifdef HAVE_OSX
#ifdef HAVE_OSX
&
osx
P
lugin
,
&
osx
_output_p
lugin
,
#endif
#endif
#ifdef ENABLE_RAOP_OUTPUT
#ifdef ENABLE_RAOP_OUTPUT
&
raop
P
lugin
,
&
raop
_output_p
lugin
,
#endif
#endif
#ifdef ENABLE_SOLARIS_OUTPUT
#ifdef ENABLE_SOLARIS_OUTPUT
&
solaris_output_plugin
,
&
solaris_output_plugin
,
...
...
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