In windows 8 right click the sound icon in the notification area and select Recording Devices. In the pane that opens right click a blank area and tick both boxes. Hopefully you will see Stereo Mix. That needs to be the default to record sound via Audacity. For mic and Line in then change the defaults when they're plugged in.
Surface Pro 4 UK release date, price and specs: Thinner, lighter, faster with new Type Cover and Pen