X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audiod.c;h=40a35c6a601cf5839b044e44be35992b6e8036d3;hp=486a33ff5a26f9c5147e14a8c3eabd7c0246e816;hb=c387b216b5fd3c944053e1bba024815719e9a0d9;hpb=0a5226b8f6b9131024893f35de615d0b829afe27 diff --git a/audiod.c b/audiod.c index 486a33ff..40a35c6a 100644 --- a/audiod.c +++ b/audiod.c @@ -9,7 +9,6 @@ #include #include #include -#include #include #include "para.h" @@ -167,7 +166,7 @@ struct command_task { * \return The audio format number on success, -E_UNSUPPORTED_AUDIO_FORMAT if * \a name is not a supported audio format. */ -int get_audio_format_num(const char *name) +static int get_audio_format_num(const char *name) { int i; @@ -469,20 +468,6 @@ static int get_empty_slot(void) return -E_NO_MORE_SLOTS; } -/** - * get the number of filters - * - * \param audio_format_num the number identifying the audio format - * - * \return the number of filters for the given audio format - * - * \sa struct filter; - */ -int num_filters(int audio_format_num) -{ - return afi[audio_format_num].num_filters; -} - static void open_filters(struct slot_info *s) { struct audio_format_info *a = afi + s->format;