I have started writing an application that plays small sound files (WAVs) and I'd like to capture the output audio stream so that I can make a visualisation that reflects the sound being played (e.g. a scope visualisation). The application varies the speed and volume of playback of the sounds so reading directly from the file is no good (not to mention sync problems). I'm yet to come across anything in the API that lets you monitor a bitstream of audio output - does anyone know how I might be able to do this?
Any help greatly appreciated,