Changeset 204 for libmpc/branches/r2d/mpcenc/mpcenc.c
- Timestamp:
- 02/08/07 21:36:52 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/mpcenc/mpcenc.c
r203 r204 1611 1611 writeStreamInfo ( &e, m.Max_Band, m.MS_Channelmode > 0, SamplesInWAVE, 1612 1612 m.SampleFreq, Wave.Channels > 2 ? 2 : Wave.Channels); 1613 writeBlock(&e, "SI", MPC_TRUE );1613 writeBlock(&e, "SI", MPC_TRUE, 0); 1614 1614 writeEncoderInfo(&e, m.FullQual, m.PNS > 0, MPPENC_MAJOR, MPPENC_MINOR, 1615 1615 MPPENC_IMPLEMENT, MPPENC_BUILD); 1616 writeBlock(&e, "EI", MPC_FALSE );1616 writeBlock(&e, "EI", MPC_FALSE, 0); 1617 1617 e.seek_ptr = ftell(e.outputFile); 1618 1618 writeBits (&e, 0, 8); 1619 1619 writeBits (&e, 0, 32); // jump 40 bits for seek table pointer 1620 writeBlock(&e, "SP", MPC_FALSE ); // reserve space for seek pointer1620 writeBlock(&e, "SP", MPC_FALSE, 0); // reserve space for seek pointer 1621 1621 1622 1622 … … 1723 1723 e.seek_pos++; 1724 1724 } 1725 writeBlock(&e, "AD", MPC_FALSE );1725 writeBlock(&e, "AD", MPC_FALSE, 0); 1726 1726 writeSeekTable(&e); 1727 writeBlock(&e, "ST", MPC_FALSE ); // write seek table block1728 writeBlock(&e, "SE", MPC_FALSE ); // write end of stream block1727 writeBlock(&e, "ST", MPC_FALSE, 0); // write seek table block 1728 writeBlock(&e, "SE", MPC_FALSE, 0); // write end of stream block 1729 1729 ShowProgress (&m, SamplesInWAVE, SamplesInWAVE, e.outputBits ); 1730 1730
Note: See TracChangeset
for help on using the changeset viewer.