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
3c9bcdd3
Commit
3c9bcdd3
authored
Sep 17, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
output: per-plugin header
Move the "extern" declarations from output_list.c, for more type safety.
parent
3934d2d3
Show whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
440 additions
and
35 deletions
+440
-35
Makefile.am
Makefile.am
+8
-7
alsa_output_plugin.c
src/output/alsa_output_plugin.c
+1
-0
alsa_output_plugin.h
src/output/alsa_output_plugin.h
+25
-0
ao_output_plugin.c
src/output/ao_output_plugin.c
+1
-0
ao_output_plugin.h
src/output/ao_output_plugin.h
+25
-0
ffado_output_plugin.c
src/output/ffado_output_plugin.c
+1
-0
ffado_output_plugin.h
src/output/ffado_output_plugin.h
+25
-0
fifo_output_plugin.c
src/output/fifo_output_plugin.c
+1
-0
fifo_output_plugin.h
src/output/fifo_output_plugin.h
+25
-0
httpd_output_plugin.c
src/output/httpd_output_plugin.c
+1
-0
httpd_output_plugin.h
src/output/httpd_output_plugin.h
+25
-0
jack_output_plugin.c
src/output/jack_output_plugin.c
+1
-0
jack_output_plugin.h
src/output/jack_output_plugin.h
+25
-0
mvp_output_plugin.c
src/output/mvp_output_plugin.c
+1
-0
mvp_output_plugin.h
src/output/mvp_output_plugin.h
+25
-0
null_output_plugin.c
src/output/null_output_plugin.c
+1
-0
null_output_plugin.h
src/output/null_output_plugin.h
+25
-0
openal_output_plugin.c
src/output/openal_output_plugin.c
+1
-0
openal_output_plugin.h
src/output/openal_output_plugin.h
+25
-0
oss_output_plugin.c
src/output/oss_output_plugin.c
+1
-0
oss_output_plugin.h
src/output/oss_output_plugin.h
+25
-0
osx_output_plugin.c
src/output/osx_output_plugin.c
+1
-0
osx_output_plugin.h
src/output/osx_output_plugin.h
+25
-0
pipe_output_plugin.c
src/output/pipe_output_plugin.c
+1
-0
pipe_output_plugin.h
src/output/pipe_output_plugin.h
+25
-0
pulse_output_plugin.h
src/output/pulse_output_plugin.h
+2
-0
raop_output_plugin.c
src/output/raop_output_plugin.c
+1
-0
raop_output_plugin.h
src/output/raop_output_plugin.h
+4
-2
recorder_output_plugin.c
src/output/recorder_output_plugin.c
+1
-0
recorder_output_plugin.h
src/output/recorder_output_plugin.h
+25
-0
roar_output_plugin.c
src/output/roar_output_plugin.c
+1
-0
roar_output_plugin.h
src/output/roar_output_plugin.h
+6
-6
shout_output_plugin.c
src/output/shout_output_plugin.c
+1
-0
shout_output_plugin.h
src/output/shout_output_plugin.h
+25
-0
solaris_output_plugin.c
src/output/solaris_output_plugin.c
+1
-0
solaris_output_plugin.h
src/output/solaris_output_plugin.h
+25
-0
winmm_output_plugin.c
src/output/winmm_output_plugin.c
+1
-0
winmm_output_plugin.h
src/output/winmm_output_plugin.h
+8
-0
output_list.c
src/output_list.c
+19
-20
No files found.
Makefile.am
View file @
3c9bcdd3
...
...
@@ -144,9 +144,6 @@ mpd_headers = \
src/open.h
\
src/output/httpd_client.h
\
src/output/httpd_internal.h
\
src/output/pulse_output_plugin.h
\
src/output/roar_output_plugin.h
\
src/output/winmm_output_plugin.h
\
src/page.h
\
src/pcm_buffer.h
\
src/pcm_utils.h
\
...
...
@@ -735,12 +732,14 @@ MIXER_SRC = \
src/mixer/software_mixer_plugin.c
if
HAVE_ALSA
OUTPUT_SRC
+=
src/output/alsa_output_plugin.c
OUTPUT_SRC
+=
\
src/output/alsa_output_plugin.c src/output/alsa_output_plugin.h
MIXER_SRC
+=
src/mixer/alsa_mixer_plugin.c
endif
if
HAVE_ROAR
OUTPUT_SRC
+=
src/output/roar_output_plugin.c
OUTPUT_SRC
+=
\
src/output/roar_output_plugin.c src/output/roar_output_plugin.h
MIXER_SRC
+=
src/mixer/roar_mixer_plugin.c
endif
...
...
@@ -791,7 +790,8 @@ OUTPUT_LIBS += $(OPENSSL_LIBS)
endif
if
HAVE_PULSE
OUTPUT_SRC
+=
src/output/pulse_output_plugin.c
OUTPUT_SRC
+=
\
src/output/pulse_output_plugin.c src/output/pulse_output_plugin.h
MIXER_SRC
+=
src/mixer/pulse_mixer_plugin.c
endif
...
...
@@ -815,7 +815,8 @@ OUTPUT_SRC += src/output/solaris_output_plugin.c
endif
if
ENABLE_WINMM_OUTPUT
OUTPUT_SRC
+=
src/output/winmm_output_plugin.c
OUTPUT_SRC
+=
\
src/output/winmm_output_plugin.c src/output/winmm_output_plugin.h
MIXER_SRC
+=
src/mixer/winmm_mixer_plugin.c
endif
...
...
src/output/alsa_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "alsa_output_plugin.h"
#include "output_api.h"
#include "mixer_list.h"
...
...
src/output/alsa_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_ALSA_OUTPUT_PLUGIN_H
#define MPD_ALSA_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
alsaPlugin
;
#endif
src/output/ao_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "ao_output_plugin.h"
#include "output_api.h"
#include <ao/ao.h>
...
...
src/output/ao_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_AO_OUTPUT_PLUGIN_H
#define MPD_AO_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
ao_output_plugin
;
#endif
src/output/ffado_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -30,6 +30,7 @@
*/
#include "config.h"
#include "ffado_output_plugin.h"
#include "output_api.h"
#include "timer.h"
...
...
src/output/ffado_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_FFADO_OUTPUT_PLUGIN_H
#define MPD_FFADO_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
ffado_output_plugin
;
#endif
src/output/fifo_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "fifo_output_plugin.h"
#include "output_api.h"
#include "utils.h"
#include "timer.h"
...
...
src/output/fifo_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_FIFO_OUTPUT_PLUGIN_H
#define MPD_FIFO_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
fifo_output_plugin
;
#endif
src/output/httpd_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "httpd_output_plugin.h"
#include "httpd_internal.h"
#include "httpd_client.h"
#include "output_api.h"
...
...
src/output/httpd_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_HTTPD_OUTPUT_PLUGIN_H
#define MPD_HTTPD_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
httpd_output_plugin
;
#endif
src/output/jack_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "jack_output_plugin.h"
#include "output_api.h"
#include <assert.h>
...
...
src/output/jack_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_JACK_OUTPUT_PLUGIN_H
#define MPD_JACK_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
jack_output_plugin
;
#endif
src/output/mvp_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -23,6 +23,7 @@
*/
#include "config.h"
#include "mvp_output_plugin.h"
#include "output_api.h"
#include "fd_util.h"
...
...
src/output/mvp_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_MVP_OUTPUT_PLUGIN_H
#define MPD_MVP_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
mvp_output_plugin
;
#endif
src/output/null_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "null_output_plugin.h"
#include "output_api.h"
#include "timer.h"
...
...
src/output/null_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_NULL_OUTPUT_PLUGIN_H
#define MPD_NULL_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
null_output_plugin
;
#endif
src/output/openal_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "openal_output_plugin.h"
#include "output_api.h"
#include "timer.h"
...
...
src/output/openal_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_OPENAL_OUTPUT_PLUGIN_H
#define MPD_OPENAL_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
openal_output_plugin
;
#endif
src/output/oss_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "oss_output_plugin.h"
#include "output_api.h"
#include "mixer_list.h"
#include "fd_util.h"
...
...
src/output/oss_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_OSS_OUTPUT_PLUGIN_H
#define MPD_OSS_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
oss_output_plugin
;
#endif
src/output/osx_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "osx_output_plugin.h"
#include "output_api.h"
#include <glib.h>
...
...
src/output/osx_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_OSX_OUTPUT_PLUGIN_H
#define MPD_OSX_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
osx_output_plugin
;
#endif
src/output/pipe_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "pipe_output_plugin.h"
#include "output_api.h"
#include <stdio.h>
...
...
src/output/pipe_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_PIPE_OUTPUT_PLUGIN_H
#define MPD_PIPE_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
pipe_output_plugin
;
#endif
src/output/pulse_output_plugin.h
View file @
3c9bcdd3
...
...
@@ -28,6 +28,8 @@ struct pulse_output;
struct
pulse_mixer
;
struct
pa_cvolume
;
extern
const
struct
audio_output_plugin
pulse_output_plugin
;
void
pulse_output_lock
(
struct
pulse_output
*
po
);
...
...
src/output/raop_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -17,6 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "config.h"
#include "raop_output_plugin.h"
#include "output_api.h"
#include "mixer_list.h"
...
...
src/output/raop_output_plugin.h
View file @
3c9bcdd3
...
...
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_
OUTPUT_RAOP
_PLUGIN_H
#define MPD_
OUTPUT_RAOP
_PLUGIN_H
#ifndef MPD_
RAOP_OUTPUT
_PLUGIN_H
#define MPD_
RAOP_OUTPUT
_PLUGIN_H
#include <glib.h>
...
...
@@ -26,6 +26,8 @@
struct
raop_data
;
extern
const
struct
audio_output_plugin
raopPlugin
;
bool
raop_set_volume
(
struct
raop_data
*
rd
,
unsigned
volume
,
GError
**
error_r
);
...
...
src/output/recorder_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "recorder_output_plugin.h"
#include "output_api.h"
#include "encoder_plugin.h"
#include "encoder_list.h"
...
...
src/output/recorder_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_RECORDER_OUTPUT_PLUGIN_H
#define MPD_RECORDER_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
recorder_output_plugin
;
#endif
src/output/roar_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "roar_output_plugin.h"
#include "output_api.h"
#include "mixer_list.h"
#include "roar_output_plugin.h"
...
...
src/output/roar_output_plugin.h
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2010 The Music Player Daemon Project
* Copyright (C) 2010-2011 Philipp 'ph3-der-loewe' Schafft
* Copyright (C) 2010-2011 Hans-Kristian 'maister' Arntzen
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
...
...
@@ -18,14 +17,15 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef __ROAR_OUTPUT_H
#define __ROAR_OUTPUT_H
#ifndef MPD_ROAR_OUTPUT_PLUGIN_H
#define MPD_ROAR_OUTPUT_PLUGIN_H
#include <stdbool.h>
struct
roar
;
extern
const
struct
audio_output_plugin
roar_output_plugin
;
int
roar_output_get_volume
(
struct
roar
*
roar
);
...
...
src/output/shout_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "shout_output_plugin.h"
#include "output_api.h"
#include "encoder_plugin.h"
#include "encoder_list.h"
...
...
src/output/shout_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_SHOUT_OUTPUT_PLUGIN_H
#define MPD_SHOUT_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
shoutPlugin
;
#endif
src/output/solaris_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "solaris_output_plugin.h"
#include "output_api.h"
#include "fd_util.h"
...
...
src/output/solaris_output_plugin.h
0 → 100644
View file @
3c9bcdd3
/*
* Copyright (C) 2003-2011 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_SOLARIS_OUTPUT_PLUGIN_H
#define MPD_SOLARIS_OUTPUT_PLUGIN_H
extern
const
struct
audio_output_plugin
solaris_output_plugin
;
#endif
src/output/winmm_output_plugin.c
View file @
3c9bcdd3
...
...
@@ -18,6 +18,7 @@
*/
#include "config.h"
#include "winmm_output_plugin.h"
#include "output_api.h"
#include "pcm_buffer.h"
#include "mixer_list.h"
...
...
src/output/winmm_output_plugin.h
View file @
3c9bcdd3
...
...
@@ -20,10 +20,18 @@
#ifndef MPD_WINMM_OUTPUT_PLUGIN_H
#define MPD_WINMM_OUTPUT_PLUGIN_H
#include "check.h"
#ifdef ENABLE_WINMM_OUTPUT
#include <windows.h>
struct
winmm_output
;
extern
const
struct
audio_output_plugin
winmm_output_plugin
;
HWAVEOUT
winmm_output_get_handle
(
struct
winmm_output
*
);
#endif
#endif
src/output_list.c
View file @
3c9bcdd3
...
...
@@ -20,26 +20,25 @@
#include "config.h"
#include "output_list.h"
#include "output_api.h"
extern
const
struct
audio_output_plugin
shoutPlugin
;
extern
const
struct
audio_output_plugin
null_output_plugin
;
extern
const
struct
audio_output_plugin
fifo_output_plugin
;
extern
const
struct
audio_output_plugin
pipe_output_plugin
;
extern
const
struct
audio_output_plugin
alsaPlugin
;
extern
const
struct
audio_output_plugin
roar_output_plugin
;
extern
const
struct
audio_output_plugin
ao_output_plugin
;
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
raopPlugin
;
extern
const
struct
audio_output_plugin
solaris_output_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
jack_output_plugin
;
extern
const
struct
audio_output_plugin
httpd_output_plugin
;
extern
const
struct
audio_output_plugin
recorder_output_plugin
;
extern
const
struct
audio_output_plugin
winmm_output_plugin
;
extern
const
struct
audio_output_plugin
ffado_output_plugin
;
#include "output/alsa_output_plugin.h"
#include "output/ao_output_plugin.h"
#include "output/ffado_output_plugin.h"
#include "output/fifo_output_plugin.h"
#include "output/httpd_output_plugin.h"
#include "output/jack_output_plugin.h"
#include "output/mvp_output_plugin.h"
#include "output/null_output_plugin.h"
#include "output/openal_output_plugin.h"
#include "output/oss_output_plugin.h"
#include "output/osx_output_plugin.h"
#include "output/pipe_output_plugin.h"
#include "output/pulse_output_plugin.h"
#include "output/raop_output_plugin.h"
#include "output/recorder_output_plugin.h"
#include "output/roar_output_plugin.h"
#include "output/shout_output_plugin.h"
#include "output/solaris_output_plugin.h"
#include "output/winmm_output_plugin.h"
const
struct
audio_output_plugin
*
audio_output_plugins
[]
=
{
#ifdef HAVE_SHOUT
...
...
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