Fix time increment calculation.

Increment time by total samples played, not just those played in
the last iteration.  At present, it makes no difference because
there should only be one iteration (due to the requirement that
the sound drivers' play() functions play all samples), but this
will prevent any problems arising in the future.

git-svn-id: svn://daper.net/moc/trunk@2659 910807d9-36e0-0310-a014-e9ea483e2ba4
Fix use of uninitialised client structure elements.

The client structure elements needs to be initialised before any
function calls error().  Using error() in server code will result
in a call to server_error() which attempts to send the error to any
connected clients.

git-svn-id: svn://daper.net/moc/trunk@2660 910807d9-36e0-0310-a014-e9ea483e2ba4