diff options
author | Torsten Jager <t.jager@gmx.de> | 2014-03-10 16:36:55 +0100 |
---|---|---|
committer | Torsten Jager <t.jager@gmx.de> | 2014-03-10 16:36:55 +0100 |
commit | 9dc01446b018803415e0fe02b0f060b037e0738a (patch) | |
tree | af1041e41677ce01eb51fd4496a5b5f2c655584e /src/audio_out/audio_oss_out.c | |
parent | 19ebd24e0d03f60a8a4f5aa90ff51021cae2b430 (diff) | |
download | xine-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_oss_out.c')
-rw-r--r-- | src/audio_out/audio_oss_out.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audio_out/audio_oss_out.c b/src/audio_out/audio_oss_out.c index 3c9559433..0fdbaa705 100644 --- a/src/audio_out/audio_oss_out.c +++ b/src/audio_out/audio_oss_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. * @@ -726,7 +726,7 @@ static ao_driver_t *open_plugin (audio_driver_class_t *class_gen, const void *da /* devname_val is offset used to select auto, /dev/dsp, or /dev/sound/dsp */ devname_val = config->register_enum (config, "audio.device.oss_device_name", 0, - devname_opts, + (char **)devname_opts, _("OSS audio device name"), _("Specifies the base part of the audio device name, " "to which the OSS device number is appended to get the " @@ -790,7 +790,7 @@ static ao_driver_t *open_plugin (audio_driver_class_t *class_gen, const void *da */ this->sync_method = config->register_enum (config, "audio.oss_sync_method", OSS_SYNC_AUTO_DETECT, - sync_methods, + (char **)sync_methods, _("a/v sync method to use by OSS"), _("xine can use different methods to keep audio and video " "synchronized. Which setting works best depends on the " @@ -908,7 +908,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_alsa_out.c */ speakers = config->register_enum(config, "audio.output.speaker_arrangement", STEREO, - speaker_arrangement, + (char **)speaker_arrangement, AUDIO_DEVICE_SPEAKER_ARRANGEMENT_HELP, 0, oss_speaker_arrangement_cb, this); |