This patch makes the server-side sound channel thread optionnal, and exposes functions to handle channel traffic from the outside.