I am using madpaly on my target embedded linux board

i am playing the songs using system command

system("madplay -b 16 /tmp/song1.mp3");
once the song is finished then only it is coming out and playing next song.

i want to stop playing this song from code

kindly suggest me the command

Thanks in advance