Changeset 57417 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Aug 18, 2015 11:21:12 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r57398 r57417 336 336 case 16: 337 337 { 338 int i;339 338 uint16_t *p = (uint16_t *)pvBuf; 340 339 int shift = pPCMInfo->cChannels - 1; … … 344 343 s = RT_BSWAP_U16(s); 345 344 346 for ( i = 0; i < cbBuf << shift; i++)345 for (unsigned i = 0; i < cbBuf << shift; i++) 347 346 p[i] = s; 348 347 … … 352 351 case 32: 353 352 { 354 int i;355 353 uint32_t *p = (uint32_t *)pvBuf; 356 354 int shift = pPCMInfo->cChannels - 1; … … 360 358 s = RT_BSWAP_U32(s); 361 359 362 for ( i = 0; i < cbBuf << shift; i++)360 for (unsigned i = 0; i < cbBuf << shift; i++) 363 361 p[i] = s; 364 362
Note:
See TracChangeset
for help on using the changeset viewer.