In audacity, go to Edit>Preferences. Under the heading Recording, select an input device. If that doesn't work, then open up Volume Control (double click the speaker icon on your windows taskbar) and check to see if any device you use is neither muted nor the volume is set to 0.