* modules/audio_output/waveout.c: better buffer management and hopefully fixed the S/PDIF output (Still untested though. Anybody here could test this? ).