This document describes the audio connector pinouts in the CD-ROM drives and circuit to combine audio from two CD-ROM drives to one soundcard input.
ATA-3 standard draft, zipped pdf file