On my 2011 iMac the internal speakers are fine but as soon as I connect external speakers, the audio on the external ones is badly distorted along with a loud buzz. The sound using headphones on the same audio out is perfect and the sound from the external speakers connected to my 2010 Macbook Pro or my PC is perfect. The display does change from 'internal speakers' to 'headphones' when I look at System Preferences/Sound. A PRAM reset didn't change anything. Any ideas appreciated.