X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afh.h;fp=afh.h;h=4204108a33131e3b4bda8a007bd429665246860c;hp=ec1d67065c757402b3a63d81e27450d763d87263;hb=77d770f7b0930476d95021bd9e6d6007db53d391;hpb=03849db5d67e1702b1311429966fedd2545512d7 diff --git a/afh.h b/afh.h index ec1d6706..4204108a 100644 --- a/afh.h +++ b/afh.h @@ -58,6 +58,18 @@ struct afh_info { uint16_t bitrate; }; +/** Data about the current audio file, passed from afs to server. */ +struct audio_file_data { + /** The open file descriptor to the current audio file. */ + int fd; + /** Vss needs this for streaming. */ + struct afh_info afhi; + /** Size of the largest chunk. */ + uint32_t max_chunk_size; + /** Needed to get the audio file header. */ + uint8_t audio_format_id; +}; + /** * Structure for audio format handling. *