Mercurial > audlegacy-plugins
comparison src/tta/ttadec.c @ 912:5bd17596c7e9 trunk
[svn] - patches from upstream TTA author. see http://boards.nenolod.net/viewtopic.php?t=375
author | nenolod |
---|---|
date | Wed, 04 Apr 2007 10:52:15 -0700 |
parents | c0f69d57483b |
children | d0d99b22e393 |
comparison
equal
deleted
inserted
replaced
911:0010163f8e25 | 912:5bd17596c7e9 |
---|---|
30 | 30 |
31 #include <stdlib.h> | 31 #include <stdlib.h> |
32 #include <stdio.h> | 32 #include <stdio.h> |
33 #include <string.h> | 33 #include <string.h> |
34 | 34 |
35 #include "ttadec.h" | |
35 #include "ttalib.h" | 36 #include "ttalib.h" |
36 #include "ttadec.h" | |
37 #include "crc32.h" | 37 #include "crc32.h" |
38 #include "filters.h" | 38 #include "filters.h" |
39 | 39 |
40 /******************* static variables and structures *******************/ | 40 /******************* static variables and structures *******************/ |
41 | 41 |
56 | 56 |
57 static int maxvalue; // output data max value | 57 static int maxvalue; // output data max value |
58 static unsigned int *seek_table; // the playing position table | 58 static unsigned int *seek_table; // the playing position table |
59 static unsigned int st_state; //seek table status | 59 static unsigned int st_state; //seek table status |
60 | 60 |
61 static unsigned int frame_crc32; | 61 static __uint32_t frame_crc32; |
62 static unsigned int bit_count; | 62 static __uint32_t bit_count; |
63 static unsigned int bit_cache; | 63 static __uint32_t bit_cache; |
64 static unsigned char *bitpos; | 64 static unsigned char *bitpos; |
65 static unsigned int bitrate; | 65 static unsigned int bitrate; |
66 | 66 |
67 void get_id3v1_tag (tta_info *ttainfo); | 67 void get_id3v1_tag (tta_info *ttainfo); |
68 int get_id3v2_tag (tta_info *ttainfo); | 68 int get_id3v2_tag (tta_info *ttainfo); |