No need for a mic, just set the recording device to stereo mix and it'll record directly from the sound card.
By the way there is a program called Tunatic that does the same thing than this site (I have it and it works greatly in most cases). If you have an iphone or itouch you can use shazam too.