Ignore:
Timestamp:
11/11/06 18:22:26 (15 years ago)
Author:
r2d
Message:
  • read "EI" and "RG" blocks
  • updated "SI" block according to the spec
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libmpcdec/branches/zorg/src/mpc_demux.c

    r108 r117  
    4545mpc_status streaminfo_read_header_sv8(mpc_streaminfo* si, const mpc_bits_reader * r_in);
    4646mpc_status streaminfo_read_header_sv7(mpc_streaminfo* si, mpc_bits_reader * r_in);
     47void  streaminfo_encoder_info(mpc_streaminfo* si, const mpc_bits_reader * r_in);
     48void  streaminfo_gain(mpc_streaminfo* si, const mpc_bits_reader * r_in);
    4749
    4850#define MAX_FRAME_SIZE 4352
     
    133135                        if (memcmp(b.key, "SI", 2) == 0)
    134136                                streaminfo_read_header_sv8(&d->si, &d->bits_reader);
     137                        else if (memcmp(b.key, "EI", 2) == 0)
     138                                streaminfo_encoder_info(&d->si, &d->bits_reader);
     139                        else if (memcmp(b.key, "RG", 2) == 0)
     140                                streaminfo_gain(&d->si, &d->bits_reader);
    135141                        d->bits_reader.buff += b.size;
    136142                        size = mpc_bits_get_block(&d->bits_reader, &b);
Note: See TracChangeset for help on using the changeset viewer.