Changeset 78169 in vbox for trunk/src/VBox/Storage
- Timestamp:
- Apr 17, 2019 3:18:00 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 130084
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/CUE.cpp
r76553 r78169 262 262 *********************************************************************************************************************************/ 263 263 264 265 /** 266 * Converts a MSF formatted address value read from the given buffer 267 * to an LBA number. MSF 00:00:00 equals LBA 0. 268 * 269 * @returns The LBA number. 270 * @param pbBuf The buffer to read the MSF formatted address 271 * from. 272 */ 273 DECLINLINE(uint32_t) cueMSF2LBA(const uint8_t *pbBuf) 274 { 275 return (pbBuf[0] * 60 + pbBuf[1]) * 75 + pbBuf[2]; 276 } 277 264 278 /** 265 279 * Ensures that the region list can hold up to the given number of tracks. … … 837 851 838 852 *pu8Index = (uint8_t)u64Index; 839 *pu64Lba = scsiMSF2LBA(&abMsf[0]);853 *pu64Lba = cueMSF2LBA(&abMsf[0]); 840 854 cueTokenizerConsume(pTokenizer); 841 855 }
Note:
See TracChangeset
for help on using the changeset viewer.