diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2012-04-27 13:48:29 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2012-04-27 13:48:29 +0300 |
commit | b5f7cec1c76143ac6fe27d3f83d9fd5a15ca0490 (patch) | |
tree | cabe9de357584000da26b0ec2b015a9817f0d150 /src/audio_out/audio_oss_out.c | |
parent | d54db9736e41937be623353887349f0ceaf3a192 (diff) | |
download | xine-lib-b5f7cec1c76143ac6fe27d3f83d9fd5a15ca0490.tar.gz xine-lib-b5f7cec1c76143ac6fe27d3f83d9fd5a15ca0490.tar.bz2 |
Added missing const
Diffstat (limited to 'src/audio_out/audio_oss_out.c')
-rw-r--r-- | src/audio_out/audio_oss_out.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_out/audio_oss_out.c b/src/audio_out/audio_oss_out.c index 06d9115ef..a51a0b169 100644 --- a/src/audio_out/audio_oss_out.c +++ b/src/audio_out/audio_oss_out.c @@ -704,11 +704,11 @@ static ao_driver_t *open_plugin (audio_driver_class_t *class_gen, const void *da int caps; int audio_fd; int num_channels, status, arg; - static char *sync_methods[] = {"auto", "getodelay", "getoptr", "softsync", "probebuffer", NULL}; - static char *devname_opts[] = {"auto", "/dev/dsp", "/dev/sound/dsp", NULL}; + static const char * const sync_methods[] = {"auto", "getodelay", "getoptr", "softsync", "probebuffer", NULL}; + static const char * const devname_opts[] = {"auto", "/dev/dsp", "/dev/sound/dsp", NULL}; int devname_val, devname_num; /* for usability reasons, keep this in sync with audio_alsa_out.c */ - static char *speaker_arrangement[] = {"Mono 1.0", "Stereo 2.0", "Headphones 2.0", "Stereo 2.1", + static const char * const speaker_arrangement[] = {"Mono 1.0", "Stereo 2.0", "Headphones 2.0", "Stereo 2.1", "Surround 3.0", "Surround 4.0", "Surround 4.1", "Surround 5.0", "Surround 5.1", "Surround 6.0", "Surround 6.1", "Surround 7.1", "Pass Through", NULL}; #define MONO 0 |