Mercurial > audlegacy-plugins
diff 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 |
line wrap: on
line diff
--- a/src/sid/xs_config.c Wed Sep 05 00:09:50 2007 +0300 +++ b/src/sid/xs_config.c Wed Sep 05 00:10:06 2007 +0300 @@ -74,13 +74,13 @@ /* Samplerates */ -static gchar *xs_samplerates_table[] = { +static const gchar *xs_samplerates_table[] = { "8000", "11025", "22050", "44100", "48000", "64000", "96000" }; -static gint xs_nsamplerates_table = (sizeof(xs_samplerates_table) / sizeof(xs_samplerates_table[0])); +static const gint xs_nsamplerates_table = (sizeof(xs_samplerates_table) / sizeof(xs_samplerates_table[0])); /* * Configuration specific stuff