Can someone please tell me what is wrong in this code. What is supposed to happen is when someone sends me a file it's supposed to play Incoming File Transfer. This does work but it seems to play the sound twice in a row.
When a file is sent to me i hear In-Incoming File Transfer.
The In part is the wav the first time the Incoming Transfer part is the wav cutting off the wav the first time it is played because it was triggered again to play.