2 * Copyright (C) 2005-2007 Andre Noll <maan@systemlinux.org>
4 * Licensed under the GPL v2. For licencing details see COPYING.
7 /** \file vss.h exported functions from vss.c (para_server) */
9 void vss_send_chunk(void);
10 struct timeval
*vss_preselect(fd_set
*rfds
, fd_set
*wfds
, int *max_fileno
);
11 void vss_post_select(fd_set
*rfds
, fd_set
*wfds
);
12 unsigned int vss_playing(void);
13 unsigned int vss_next(void);
14 unsigned int vss_repos(void);
15 unsigned int vss_paused(void);
16 char *vss_get_header(size_t *header_len
);
17 struct timeval
*vss_chunk_time(void);
18 const char *supported_audio_formats(void);
19 int vss_get_chunk(long unsigned chunk_num
, char **buf
, size_t *len
);
21 /** stop playing after current audio file */
23 /** skip remaining part of current audio file */
25 /** a reposition request was sent by a client */
27 /** currently playing */
29 /** a client requested to change the audio file selector */