diff options
author | Max Kellermann <max@duempel.org> | 2009-10-20 21:23:05 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-20 21:23:05 +0200 |
commit | 097e200a97dfda0844c93f53f1c0a1e6f5d07201 (patch) | |
tree | 958b079c42f9e4b80d65451794755c8aa4b76970 /src/mixer | |
parent | bd28caed3c650101ee4d19b9b0d985609f1a97cf (diff) | |
download | mpd-097e200a97dfda0844c93f53f1c0a1e6f5d07201.tar.gz mpd-097e200a97dfda0844c93f53f1c0a1e6f5d07201.tar.xz mpd-097e200a97dfda0844c93f53f1c0a1e6f5d07201.zip |
mixer/{oss,alsa}: renamed the mixer source files
Diffstat (limited to 'src/mixer')
-rw-r--r-- | src/mixer/alsa_mixer_plugin.c (renamed from src/mixer/alsa_mixer.c) | 8 | ||||
-rw-r--r-- | src/mixer/oss_mixer_plugin.c (renamed from src/mixer/oss_mixer.c) | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/mixer/alsa_mixer.c b/src/mixer/alsa_mixer_plugin.c index 52e553cc5..1a32ea9e1 100644 --- a/src/mixer/alsa_mixer.c +++ b/src/mixer/alsa_mixer_plugin.c @@ -17,8 +17,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "../output_api.h" -#include "../mixer_api.h" +#include "mixer_api.h" +#include "output_api.h" #include <glib.h> #include <alsa/asoundlib.h> @@ -47,7 +47,7 @@ alsa_mixer_init(const struct config_param *param) { struct alsa_mixer *am = g_new(struct alsa_mixer, 1); - mixer_init(&am->base, &alsa_mixer); + mixer_init(&am->base, &alsa_mixer_plugin); am->device = config_get_block_string(param, "mixer_device", VOLUME_MIXER_ALSA_DEFAULT); @@ -211,7 +211,7 @@ alsa_mixer_set_volume(struct mixer *mixer, unsigned volume) return true; } -const struct mixer_plugin alsa_mixer = { +const struct mixer_plugin alsa_mixer_plugin = { .init = alsa_mixer_init, .finish = alsa_mixer_finish, .open = alsa_mixer_open, diff --git a/src/mixer/oss_mixer.c b/src/mixer/oss_mixer_plugin.c index f2db01ff4..fb0fd787e 100644 --- a/src/mixer/oss_mixer.c +++ b/src/mixer/oss_mixer_plugin.c @@ -17,8 +17,8 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#include "../output_api.h" -#include "../mixer_api.h" +#include "mixer_api.h" +#include "output_api.h" #include <glib.h> @@ -69,7 +69,7 @@ oss_mixer_init(const struct config_param *param) { struct oss_mixer *om = g_new(struct oss_mixer, 1); - mixer_init(&om->base, &oss_mixer); + mixer_init(&om->base, &oss_mixer_plugin); om->device = config_get_block_string(param, "mixer_device", VOLUME_MIXER_OSS_DEFAULT); @@ -184,7 +184,7 @@ oss_mixer_set_volume(struct mixer *mixer, unsigned volume) return true; } -const struct mixer_plugin oss_mixer = { +const struct mixer_plugin oss_mixer_plugin = { .init = oss_mixer_init, .finish = oss_mixer_finish, .open = oss_mixer_open, |