Actually I want to perform a specific task ,I want to get the data that is being played by xmms and send it to another application which will now play the audio played by xmms simultaneously.I am using 2.6 kernel

help!