data loss with esd over network
Copied from Debian bug#267073:
It fixes some issues when using ESOUND over non-UNIX sockets like TCP. In the esd driver write() needs to be called in a loop to make sure that the complete sample data is written to the server.
Thanks, Lennart