[SOLVED] gtk-recordMyDesktop, no sound – on Ubuntu 10.04

I am on Ubuntu 10.04 I installed gtk-recordmydesktop and recorded the screen. I could not record the audio though. I followed this link : http://ubuntuforums.org/showthread.php?t=1428157&page=2 I set my Sound preferences > Hardware SetProfile = Analog Stereo Output (it was earlier Analog stereo duplex) It Works!