X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh_common.c;h=5be43550c202b516aaedf332dbbfba341da20dcb;hp=5c866c1fdef07baf87c3cd6148619b8e8c13cb83;hb=d87806284b9f6be9aab71ccbf0280d273b57eeb3;hpb=c5e38315901ea63efd169af5d4ba3f3c66db7de9 diff --git a/afh_common.c b/afh_common.c index 5c866c1f..5be43550 100644 --- a/afh_common.c +++ b/afh_common.c @@ -7,7 +7,6 @@ /** \file afh_common.c Common audio format handler functions. */ #include /* mmap */ -#include /* gettimeofday */ #include #include @@ -32,6 +31,10 @@ void mp3_init(struct audio_format_handler *); void flac_afh_init(struct audio_format_handler *); #endif +#ifdef HAVE_OPUS + void opus_afh_init(struct audio_format_handler *); +#endif + void wma_afh_init(struct audio_format_handler *); /** The list of all status items */ @@ -80,6 +83,12 @@ static struct audio_format_handler afl[] = { .name = "flac", #ifdef HAVE_FLAC .init = flac_afh_init, +#endif + }, + { + .name = "opus", +#ifdef HAVE_OPUS + .init = opus_afh_init, #endif }, {