X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=audiod.h;h=aa98001c3d34906775ce6cf7c135dfb22c060ac1;hp=f0cb6caee3fa3818e00462690f60b126d4da38ad;hb=5f511d41a111aa04189b32fd77d02e16f90ff2cc;hpb=e8089cd5efad59a5eec689117acf563a38b8c6c7 diff --git a/audiod.h b/audiod.h index f0cb6cae..aa98001c 100644 --- a/audiod.h +++ b/audiod.h @@ -1,15 +1,12 @@ /* - * Copyright (C) 2006-2010 Andre Noll + * Copyright (C) 2006-2014 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ -/** \file audiod.h symbols exported from audiod.c */ +/** \file audiod.h Symbols exported from audiod.c. */ -int num_filters(int audio_format_num); -int get_audio_format_num(const char *name); - /** enum of audio formats supported by para_audiod */ enum {AUDIOD_AUDIO_FORMATS_ENUM}; @@ -70,13 +67,14 @@ extern struct audiod_args_info conf; extern int audiod_status; void __noreturn clean_exit(int status, const char *msg); -int handle_connect(int accept_fd); -void audiod_status_dump(void); +int handle_connect(int accept_fd, fd_set *rfds); +void audiod_status_dump(bool force); char *get_time_string(int slot_num); struct btr_node *audiod_get_btr_root(void); void stat_client_write_item(int item_num); void clear_and_dump_items(void); +void close_stat_clients(void); /** iterate over all slots */ #define FOR_EACH_SLOT(_slot) for (_slot = 0; _slot < MAX_STREAM_SLOTS; _slot++)