A simple interface, useful to connect the Arduino ADC to line out audio and earphone outputs, is explained in this thread.