X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=afs.h;h=96da2da027cf27268c7b5ad1b4af6755b593f7e6;hp=76b819058642db7ffb81acf5eaa268f3cae37f3a;hb=ab273892c54e29087d2a6b0d52de8081be1b905f;hpb=e90440367f744a7723b201a95888e66f070ffa92 diff --git a/afs.h b/afs.h index 76b81905..96da2da0 100644 --- a/afs.h +++ b/afs.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2007-2010 Andre Noll + * Copyright (C) 2007-2011 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -21,7 +21,7 @@ struct afs_info { uint32_t image_id; /** Lyrics blob associated with this file (foreign key). */ uint32_t lyrics_id; - /** Mp3, ogg or aac. */ + /** Mp3, ogg, aac, wma, spx. */ uint8_t audio_format_id; /** Amplification value. */ uint8_t amp; @@ -129,6 +129,10 @@ struct audio_file_data { 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; }; /**