| 257 | |
| 258 | |
| 259 | void S_LoadSound_Finalize(wavinfo_t *info, sfx_t *sfx, byte *data) |
| 260 | { |
| 261 | //float stepscale = (float)info->rate / dma.speed; |
| 262 | //int len = (int)(info->samples / stepscale); |
| 263 | |
| 264 | //len *= info->width; |
| 265 | |
| 266 | sfx->eSoundCompressionMethod = ct_16; |
| 267 | sfx->iSoundLengthInSamples = info->samples; |
| 268 | ResampleSfx( sfx, info->rate, info->width, data + info->dataofs ); |
| 269 | } |
| 270 | |
| 271 | |
| 272 |
no test coverage detected