do you have your power wire and rca's ran on opposite sides of each other, if not try that
lol wooooooooooot pioneer decks are ground nightmares as mr idiot has pointed out.
-------------
OWWWWWWWWWWW you said you discharged the cap!
Find out where and what to isolate. Start by unplugging all RCA's from head unit. Run engine. Whine?
1) If not, then plug one RCA into head unit but not completely - just so the tip enters but that the shield doesn't touch. Whine?
2) If no whine after step 1 - and RCA shield isn't touching head unit shield. You might need to cut the shield on the RCA at the head unit end of the cable.
3) If it whines after step 1 - and RCA shield isn't touching head unit shield. Using a wire, ground the shield to an underdash brace and test again.
You can repeat the same exercise for all RCA's. If above steps don't improve, repeat the same at the amplifier.
If you don't want to cut your shields, they sell isolators.
Try the above tests with antenna connected then disconnected.
-------------
Prepare your future. It wasn't the lack of stones that killed the stone age.
ok i tried everything you said and im still getting the wine, the only time i dont get the wine is when the rca's are completely unpluged so what would you suggest next. Ive had a few people on some other forums tell me that it might be that my amps are grounded to a bad spot. im going to try running a ground from the amps to the battery and see if that does anything, just haven't had a chance to go get any wire.
Firstly, run a wire from your head unit to the ground location of the amps. You need to have the head unit grounded at the same spot as your amps to prevent ground loops. I can also tell you from personal experience that I have a system in my car and when all I did was replace my alpine deck with a jensen in dash screen, I got alternator whine when I never had it with the alpine. Your head unit does make a difference.
Never add a ground wire from the amp to battery unless amp is under hood or battery is in trunk. Chassis still remains best ground conductor.
-------------
Prepare your future. It wasn't the lack of stones that killed the stone age.
find a ground point already used by the car to ground your amp.