I would like to connect a Pi MusicBox to an USB soundcard which has both LINE-OUT and LINE-IN connections.
On the LINE-OUT port I’ll connect some PC speakers. But I wonder if I could enter an audio source (from a CD player, for example) to the LINE-IN input of the soundcard connected to the RPi, and listen to my CDs on my phone, tablet, computer, etc…
If it’s not possible, would it be possible to install an audio streaming server (like Icecast) and encode an audio source in realtime? (running MusicBox at the same time).