Changeset 81 for libmpcdec/branches/zorg/src/internal.h
- Timestamp:
- 10/31/06 11:47:09 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpcdec/branches/zorg/src/internal.h
r70 r81 52 52 } 53 53 54 typedef struct { 55 char key[2]; // block key 56 mpc_uint64_t size; // block size minus the block header size 57 } mpc_block_t; 58 59 60 /// read a block header and fills the mpc_block_t struct. 61 /// 62 /// \param p_reader supplying raw stream data 63 /// \param p_block returned block header 64 /// \return MPC_STATUS_FILE on errors of any kind 65 mpc_status mpc_get_block(mpc_reader * p_reader, mpc_block_t * p_block); 66 67 /// find a block with key == find_key, stop search if key == stop_key; 68 /// 69 /// \param p_reader supplying raw stream data 70 /// \param p_block returned block header 71 /// \param find_key key to find 72 /// \param stop_key key to stop on 73 /// \return MPC_STATUS_FILE on errors of any kind 74 mpc_status mpc_find_block(mpc_reader * p_reader, mpc_block_t * p_block, 75 char * find_key, char * stop_key); 76 77 typedef struct { 78 unsigned int buff; 79 unsigned int bitsCount; 80 } mpc_bits_reader; 81 82 mpc_uint32_t mpc_read_bits(mpc_reader * p_reader, mpc_bits_reader * p_bits, 83 int nb_bits); 84 54 85 /// Searches for a ID3v2-tag and reads the length (in bytes) of it. 55 86 ///
Note: See TracChangeset
for help on using the changeset viewer.