197
197
/* Calculate how many samples we can send, max */
199
199
total = abi.fragments * abi.fragsize / 2;
201
201
if (sampsent < sounds[cursound].samplen) {
206
206
amt = sounds[cursound].datalen - offset;
207
207
memcpy(myframe + myoff, sounds[cursound].data + offset, amt * 2);