I have a USB turntable which when plugged in to my Ubuntu 10.10 machine appears in the audio settings as an input device (USB PnP Audio Device Analog Stereo) like a microphone.
What I'd like to be able to do is have the sound for that audio device played back through the audio output (speaker or whatever). I'm not too worried if there's a slight delay between the audio coming in and it being played out through the speakers.
As far as I'm aware this is refereed to as software loopback. I can achieve exactly what I want if I open Audacity, enable software loopback and press record. Obvious this isn't ideal as I don't really want it recording what I'm playing all the time.
I know this is possible because of the Audacity example however I'd like to know if there's a way to do it without it recording. I've search around for a while for a piece of software that does this, however I couldn't get anything even close.
Any help would be greatly appreciated.
Just a warning: This answer is theoretical, because i don't own such hardware...
AFAIK you have to enable a loopback-device for pulseaudio:
After that you should see a new application under audio-settings.
If it works well, you may add a line to the pulse-audio-config to make this persistent:
Good luck!
Additional info from matto1990: