Dark Forces VOC files only have zero or one looping section.
| 208 | |
| 209 | // Dark Forces VOC files only have zero or one looping section. |
| 210 | void loopStart(SoundBuffer* voc, u16 repeatCount) |
| 211 | { |
| 212 | voc->loopStart = voc->size; |
| 213 | voc->flags |= SBUFFER_FLAG_LOOPING; |
| 214 | // repeatCount is ignored in Dark Forces. |
| 215 | } |
| 216 | |
| 217 | void loopEnd(SoundBuffer* voc) |
| 218 | { |