comparison src/sid/xs_config.c @ 1590:03a55d1af593

Constify.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 05 Sep 2007 00:10:06 +0300
parents e566e18e9e3d
children b46e7f445e88
comparison
equal deleted inserted replaced
1589:e03c60a75c23 1590:03a55d1af593
72 72
73 #define LUW(x) lookup_widget(xs_configwin, x) 73 #define LUW(x) lookup_widget(xs_configwin, x)
74 74
75 /* Samplerates 75 /* Samplerates
76 */ 76 */
77 static gchar *xs_samplerates_table[] = { 77 static const gchar *xs_samplerates_table[] = {
78 "8000", "11025", "22050", 78 "8000", "11025", "22050",
79 "44100", "48000", "64000", 79 "44100", "48000", "64000",
80 "96000" 80 "96000"
81 }; 81 };
82 82
83 static gint xs_nsamplerates_table = (sizeof(xs_samplerates_table) / sizeof(xs_samplerates_table[0])); 83 static const gint xs_nsamplerates_table = (sizeof(xs_samplerates_table) / sizeof(xs_samplerates_table[0]));
84 84
85 /* 85 /*
86 * Configuration specific stuff 86 * Configuration specific stuff
87 */ 87 */
88 XS_MUTEX(xs_cfg); 88 XS_MUTEX(xs_cfg);