I had the same kind of whine before. My alpine deck had the extended RCA preouts (they didn't plug straight into the deck, but had an extension on them), and they hit metal somewhere behind the deck and caused the whine. I wrapped them in electric tape and the whine was gone.