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/xine-engine/audio_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/xine-engine/audio_out.c')
-rw-r--r-- | src/xine-engine/audio_out.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xine-engine/audio_out.c b/src/xine-engine/audio_out.c index ca8475898..afead93f9 100644 --- a/src/xine-engine/audio_out.c +++ b/src/xine-engine/audio_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. * @@ -2160,7 +2160,7 @@ xine_audio_port_t *_x_ao_new_port (xine_t *xine, ao_driver_t *driver, this->gap_tolerance = driver->get_gap_tolerance (this->driver); this->av_sync_method_conf = config->register_enum(config, "audio.synchronization.av_sync_method", 0, - av_sync_methods, + (char **)av_sync_methods, _("method to sync audio and video"), _("When playing audio and video, there are at least " "two clocks involved: The system clock, to which " @@ -2189,7 +2189,7 @@ xine_audio_port_t *_x_ao_new_port (xine_t *xine, ao_driver_t *driver, config->update_num(config,"audio.synchronization.av_sync_method",this->av_sync_method_conf); this->resample_conf = config->register_enum (config, "audio.synchronization.resample_mode", 0, - resample_modes, + (char **)resample_modes, _("enable resampling"), _("When the sample rate of the decoded audio does not " "match the capabilities of your sound hardware, an " |