X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=vss.c;h=3ba5994b5123dd58573f6b049dd5420b23309ba3;hb=d67659cc56f7ebc6b05738d8e15ecb0de86528b1;hp=2de7a30c7bdc328cc82041135918a70da02c9578;hpb=cdef208272294b567ec80b9defd60e57a0eb2587;p=paraslash.git diff --git a/vss.c b/vss.c index 2de7a30c..3ba5994b 100644 --- a/vss.c +++ b/vss.c @@ -144,15 +144,17 @@ unsigned int vss_paused(void) } /** - * get the name of the given audio format + * Get the name of the given audio format. * - * \param i the audio format number + * \param i The audio format number. * * This returns a pointer to statically allocated memory so it * must not be freed by the caller. */ const char *audio_format_name(int i) { + //PARA_NOTICE_LOG("array size: %u¸ requested: %d\n", ARRAY_SIZE(afl), i); + assert(i < 0 || i < ARRAY_SIZE(afl) - 1); return i >= 0? afl[i].name : "(none)"; }