summaryrefslogtreecommitdiff
path: root/src/audio_out/audio_alsa_out.c
diff options
context:
space:
mode:
authorTorsten Jager <t.jager@gmx.de>2014-03-10 16:36:55 +0100
committerTorsten Jager <t.jager@gmx.de>2014-03-10 16:36:55 +0100
commit9dc01446b018803415e0fe02b0f060b037e0738a (patch)
treeaf1041e41677ce01eb51fd4496a5b5f2c655584e /src/audio_out/audio_alsa_out.c
parent19ebd24e0d03f60a8a4f5aa90ff51021cae2b430 (diff)
downloadxine-lib-9dc01446b018803415e0fe02b0f060b037e0738a.tar.gz
xine-lib-9dc01446b018803415e0fe02b0f060b037e0738a.tar.bz2
Silence compiler warnings on register_enum () arg #4.
Making them all "const char * const *" did work too (even with Kaffeine build/run), but that would be an API change.
Diffstat (limited to 'src/audio_out/audio_alsa_out.c')
-rw-r--r--src/audio_out/audio_alsa_out.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/audio_out/audio_alsa_out.c b/src/audio_out/audio_alsa_out.c
index f35c51cb1..f8d4b9214 100644
--- a/src/audio_out/audio_alsa_out.c
+++ b/src/audio_out/audio_alsa_out.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000-2013 the xine project
+ * Copyright (C) 2000-2014 the xine project
*
* This file is part of xine, a free video player.
*
@@ -1488,7 +1488,7 @@ static ao_driver_t *open_plugin (audio_driver_class_t *class_gen, const void *da
/* for usability reasons, keep this in sync with audio_oss_out.c */
speakers = config->register_enum(config, "audio.output.speaker_arrangement", STEREO,
- speaker_arrangement,
+ (char **)speaker_arrangement,
AUDIO_DEVICE_SPEAKER_ARRANGEMENT_HELP,
0, alsa_speaker_arrangement_cb, this);
@@ -1694,3 +1694,4 @@ const plugin_info_t xine_plugin_info[] EXPORTED = {
{ PLUGIN_AUDIO_OUT, AO_OUT_ALSA_IFACE_VERSION, "alsa", XINE_VERSION_CODE, &ao_info_alsa, init_class },
{ PLUGIN_NONE, 0, "", 0, NULL, NULL }
};
+