Changeset 421 for dsfilters/demux_mpc/src/mpc_file.h
- Timestamp:
- 01/18/09 18:17:12 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dsfilters/demux_mpc/src/mpc_file.h
r379 r421 40 40 }; 41 41 42 //----------------------------------------------------------------------------- 43 // 44 // CMPCChapter 45 // 46 //----------------------------------------------------------------------------- 47 48 class CMPCChapter 49 { 50 public: 51 52 int64 sample_offset; 53 float chapter_gain_db; 54 float chapter_peak_db; 55 56 CString caption; 57 58 public: 59 CMPCChapter(); 60 virtual ~CMPCChapter(); 61 62 int Load(CMPCPacket *packet); 63 }; 42 64 43 65 //----------------------------------------------------------------------------- … … 64 86 65 87 // replay gain 66 float gain_title_db;67 float gain_title_peak_db;68 float gain_album_db;69 float gain_album_peak_db;88 float gain_title_db; 89 float gain_title_peak_db; 90 float gain_album_db; 91 float gain_album_peak_db; 70 92 71 93 // seeking table 72 int64 seek_table_position; // position of seeking table in file (in bits)73 int64 header_position; // (in bits)74 uint64 *seek_table;75 int64 seek_table_size;94 int64 seek_table_position; // position of seeking table in file (in bits) 95 int64 header_position; // (in bits) 96 uint64 *seek_table; 97 int64 seek_table_size; 76 98 77 99 // current position 78 int64 total_samples;79 int64 current_sample;100 int64 total_samples; 101 int64 current_sample; 80 102 81 103 // internals 82 CMPCReader *reader; // file reader interface83 int bits_to_skip; // after seeking104 CMPCReader *reader; // file reader interface 105 int bits_to_skip; // after seeking 84 106 85 107 // buffer for decoder specific info 86 uint8 *extradata;87 int extradata_max_size; // total size88 int extradata_size; // current size of extradata108 uint8 *extradata; 109 int extradata_max_size; // total size 110 int extradata_size; // current size of extradata 89 111 112 // APE Tags 113 APE_Tag tag; 114 115 // chapters 116 vector<CMPCChapter*> chapters; 117 118 90 119 int Open_SV8(); 91 120 int Open_SV7(); … … 96 125 // I/O for MPC file 97 126 int Open(CMPCReader *reader); 127 void ClearChapters(); 98 128 99 129 // parsing packets
Note: See TracChangeset
for help on using the changeset viewer.