]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - afh_common.c
Replace gettimeofday() by clock_gettime().
[paraslash.git] / afh_common.c
index 83ea38082bb7626bc7f38ed5247369acd54abdbd..6c161a7c7ea2a30c0abb6a87c91ef5075d5dbf06 100644 (file)
@@ -7,7 +7,6 @@
 /** \file afh_common.c Common audio format handler functions. */
 
 #include <sys/mman.h> /* mmap */
-#include <sys/time.h> /* gettimeofday */
 #include <sys/types.h>
 #include <regex.h>
 
@@ -109,8 +108,7 @@ void afh_init(void)
 {
        int i;
 
-       PARA_INFO_LOG("supported audio formats: %s\n",
-               SERVER_AUDIO_FORMATS);
+       PARA_INFO_LOG("supported audio formats: %s\n", AUDIO_FORMAT_HANDLERS);
        FOR_EACH_AUDIO_FORMAT(i) {
                PARA_NOTICE_LOG("initializing %s handler\n",
                        audio_format_name(i));