Changeset 162 for libmpc/branches/r2d/mppenc/mppenc.c
- Timestamp:
- 12/19/06 02:08:32 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/branches/r2d/mppenc/mppenc.c
r161 r162 36 36 int APE_Version = 2000; 37 37 int LowDelay = 0; 38 Bool_t EnableTags = FALSE;39 Bool_t IsEndBeep = FALSE;38 Bool_t EnableTags = MPC_FALSE; 39 Bool_t IsEndBeep = MPC_FALSE; 40 40 41 41 #define MODE_OVERWRITE 0 … … 898 898 } 899 899 else if ( 0 == strcmp ( arg, "beep") ) { 900 IsEndBeep = TRUE;900 IsEndBeep = MPC_TRUE; 901 901 } 902 902 else if ( 0 == strcmp ( arg, "scale") ) { // ScalingFactor … … 1043 1043 } 1044 1044 else if ( 0 == strcmp ( arg, "writetags") ) { 1045 EnableTags = TRUE;1045 EnableTags = MPC_TRUE; 1046 1046 } 1047 1047 else if ( 0 == strcmp ( arg, "lowdelay") ) { … … 1633 1633 writeStreamInfo ( &e, m.Max_Band, m.MS_Channelmode > 0, SamplesInWAVE, 1634 1634 m.SampleFreq, Wave.Channels > 2 ? 2 : Wave.Channels); 1635 writeBlock(&e, "SI", TRUE);1635 writeBlock(&e, "SI", MPC_TRUE); 1636 1636 writeEncoderInfo(&e, m.MainQual, m.PNS > 0, MPPENC_MAJOR, MPPENC_MINOR, 1637 1637 MPPENC_IMPLEMENT, MPPENC_BUILD); 1638 writeBlock(&e, "EI", FALSE);1638 writeBlock(&e, "EI", MPC_FALSE); 1639 1639 e.seek_ptr = ftell(e.outputFile); 1640 1640 writeBits (&e, 0, 8); 1641 1641 writeBits (&e, 0, 32); // jump 40 bits for seek table pointer 1642 writeBlock(&e, "SP", FALSE); // reserve space for seek pointer1642 writeBlock(&e, "SP", MPC_FALSE); // reserve space for seek pointer 1643 1643 1644 1644 … … 1745 1745 e.seek_pos++; 1746 1746 } 1747 writeBlock(&e, "AD", FALSE);1747 writeBlock(&e, "AD", MPC_FALSE); 1748 1748 writeSeekTable(&e); 1749 writeBlock(&e, "ST", FALSE); // write seek table block1750 writeBlock(&e, "SE", FALSE); // write end of stream block1749 writeBlock(&e, "ST", MPC_FALSE); // write seek table block 1750 writeBlock(&e, "SE", MPC_FALSE); // write end of stream block 1751 1751 ShowProgress (&m, SamplesInWAVE, SamplesInWAVE, e.outputBits ); 1752 1752
Note: See TracChangeset
for help on using the changeset viewer.