Learn about the Sound Output port of your iMac G5.
The iMac G5 can use the following connectors for sound output through the Headphone Out/Optical Audio Out port located on the right side of the back of the computer:
These cables are available from the Apple Store.
Note: If you connect or disconnect the audio cable while sound is playing, there may be a delay transferring the sound to the new destination speakers. If you are playing a QuickTime movie while doing so, you may need to pause and restart your movie to ensure proper sync between audio and video.