mirror of https://github.com/ericonr/sndio.git
don't forget to send the initial clock tick
This commit is contained in:
parent
f945cd7996
commit
1b055c6da6
|
@ -101,6 +101,10 @@ sio_aucat_runmsg(struct sio_aucat_hdl *hdl)
|
|||
DPRINTF("aucat: pos = %d, maxwrite = %d\n",
|
||||
delta, hdl->maxwrite);
|
||||
hdl->delta = delta;
|
||||
if (hdl->delta >= 0) {
|
||||
sio_onmove_cb(&hdl->sio, hdl->delta);
|
||||
hdl->delta = 0;
|
||||
}
|
||||
break;
|
||||
case AMSG_MOVE:
|
||||
delta = ntohl(hdl->aucat.rmsg.u.ts.delta);
|
||||
|
|
Loading…
Reference in New Issue