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
bc4266be
Commit
bc4266be
authored
Oct 20, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pulse: renamed source files
parent
bc629c8a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
10 deletions
+12
-10
Makefile.am
Makefile.am
+2
-2
pulse_mixer_plugin.c
src/mixer/pulse_mixer_plugin.c
+2
-2
mixer_list.h
src/mixer_list.h
+1
-1
pulse_output_plugin.c
src/output/pulse_output_plugin.c
+5
-3
output_list.c
src/output_list.c
+2
-2
No files found.
Makefile.am
View file @
bc4266be
...
...
@@ -622,8 +622,8 @@ OUTPUT_SRC += src/output/osx_plugin.c
endif
if
HAVE_PULSE
OUTPUT_SRC
+=
src/output/pulse_plugin.c
MIXER_SRC
+=
src/mixer/pulse_mixer.c
OUTPUT_SRC
+=
src/output/pulse_
output_
plugin.c
MIXER_SRC
+=
src/mixer/pulse_mixer
_plugin
.c
endif
if
HAVE_SHOUT
...
...
src/mixer/pulse_mixer.c
→
src/mixer/pulse_mixer
_plugin
.c
View file @
bc4266be
...
...
@@ -206,7 +206,7 @@ static struct mixer *
pulse_mixer_init
(
const
struct
config_param
*
param
)
{
struct
pulse_mixer
*
pm
=
g_new
(
struct
pulse_mixer
,
1
);
mixer_init
(
&
pm
->
base
,
&
pulse_mixer
);
mixer_init
(
&
pm
->
base
,
&
pulse_mixer
_plugin
);
pm
->
online
=
false
;
...
...
@@ -372,7 +372,7 @@ pulse_mixer_set_volume(struct mixer *mixer, unsigned volume)
return
true
;
}
const
struct
mixer_plugin
pulse_mixer
=
{
const
struct
mixer_plugin
pulse_mixer
_plugin
=
{
.
init
=
pulse_mixer_init
,
.
finish
=
pulse_mixer_finish
,
.
open
=
pulse_mixer_open
,
...
...
src/mixer_list.h
View file @
bc4266be
...
...
@@ -28,6 +28,6 @@
extern
const
struct
mixer_plugin
software_mixer_plugin
;
extern
const
struct
mixer_plugin
alsa_mixer
;
extern
const
struct
mixer_plugin
oss_mixer
;
extern
const
struct
mixer_plugin
pulse_mixer
;
extern
const
struct
mixer_plugin
pulse_mixer
_plugin
;
#endif
src/output/pulse_plugin.c
→
src/output/pulse_
output_
plugin.c
View file @
bc4266be
...
...
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "
../
output_api.h"
#include "output_api.h"
#include "mixer_list.h"
#include <glib.h>
...
...
@@ -168,8 +168,9 @@ pulse_play(void *data, const void *chunk, size_t size, GError **error_r)
return
size
;
}
const
struct
audio_output_plugin
pulse_plugin
=
{
const
struct
audio_output_plugin
pulse_
output_
plugin
=
{
.
name
=
"pulse"
,
.
test_default_device
=
pulse_test_default_device
,
.
init
=
pulse_init
,
.
finish
=
pulse_finish
,
...
...
@@ -177,5 +178,6 @@ const struct audio_output_plugin pulse_plugin = {
.
play
=
pulse_play
,
.
cancel
=
pulse_cancel
,
.
close
=
pulse_close
,
.
mixer_plugin
=
&
pulse_mixer
,
.
mixer_plugin
=
&
pulse_mixer_plugin
,
};
src/output_list.c
View file @
bc4266be
...
...
@@ -31,7 +31,7 @@ extern const struct audio_output_plugin oss_output_plugin;
extern
const
struct
audio_output_plugin
openal_output_plugin
;
extern
const
struct
audio_output_plugin
osxPlugin
;
extern
const
struct
audio_output_plugin
solaris_output_plugin
;
extern
const
struct
audio_output_plugin
pulse_plugin
;
extern
const
struct
audio_output_plugin
pulse_
output_
plugin
;
extern
const
struct
audio_output_plugin
mvp_output_plugin
;
extern
const
struct
audio_output_plugin
jackPlugin
;
extern
const
struct
audio_output_plugin
httpd_output_plugin
;
...
...
@@ -67,7 +67,7 @@ const struct audio_output_plugin *audio_output_plugins[] = {
&
solaris_output_plugin
,
#endif
#ifdef HAVE_PULSE
&
pulse_plugin
,
&
pulse_
output_
plugin
,
#endif
#ifdef HAVE_MVP
&
mvp_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