This is a working implementation of FreeSurround, but I can't get it to work in the Cog code base, as the whole project crashes head over heels if this code is inserted into the output chain. Signed-off-by: Christopher Snowhill <kode54@gmail.com>