Move a bunch of the audio machinery to libaegisub