All of my external case CD-ROM drives have standard RCA female ports (L)(R) on the back . . . just plug them into LINE-IN with a cable that has 2 male RCA plugs on one end and a Sony stereo mini-jack on the other.
The headphone port is workable, but you will find the volume control hard to control . . . it's very sensitive.