Thanks Alexandre and Jacob for your elaborate explanation. Apparently I missed the flow control part, so after making sure I can handle partial writes, sound appears to be smooth using both libsndio and audio(4).
Sorry to the mpd users for hijacking your thread. Still, I hope the information provided will be useful to you and others struggling with audio. Regards, Remco
