Changeset 321 for libmpc/trunk/mpccut/mpccut.c
- Timestamp:
- 05/11/07 11:46:46 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libmpc/trunk/mpccut/mpccut.c
r320 r321 125 125 beg_silence = start_sample % (MPC_FRAME_LENGTH << si.block_pwr); 126 126 start_block = start_sample / (MPC_FRAME_LENGTH << si.block_pwr); 127 block_num = end_sample / (MPC_FRAME_LENGTH << si.block_pwr) - start_block; 127 block_num = (end_sample + (MPC_FRAME_LENGTH << si.block_pwr) - 1) / 128 (MPC_FRAME_LENGTH << si.block_pwr) - start_block; 128 129 end_sample -= start_block * (MPC_FRAME_LENGTH << si.block_pwr); 129 130
Note: See TracChangeset
for help on using the changeset viewer.