Changeset 317 for libmpc/trunk/libmpcenc
- Timestamp:
- 05/10/07 13:01:20 (18 years ago)
- Location:
- libmpc/trunk/libmpcenc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/libmpcenc/encode_sv7.c
r311 r317 103 103 const unsigned int MS_on, 104 104 const unsigned int SamplesCount, 105 const unsigned int SamplesSkip, 105 106 const unsigned int SampleFreq, 106 107 const unsigned int ChannelCount) … … 114 115 for( i = 0; i < len; i++) // nb of samples 115 116 writeBits ( e, tmp[i], 8 ); 116 writeBits ( e, 0, 8 ); // nb of samples to skip at beginning 117 len = encodeSize(SamplesSkip, (char *)tmp, MPC_FALSE); 118 for( i = 0; i < len; i++) // nb of samples to skip at beginning 119 writeBits ( e, tmp[i], 8 ); 117 120 118 121 switch ( SampleFreq ) { -
libmpc/trunk/libmpcenc/libmpcenc.h
r307 r317 79 79 const unsigned int MS_on, 80 80 const unsigned int SamplesCount, 81 const unsigned int SamplesSkip, 81 82 const unsigned int SampleFreq, 82 83 const unsigned int ChannelCount);
Note: See TracChangeset
for help on using the changeset viewer.