Going on the information given, I'd guess that either your PC or your sound system (if separate) is not properly grounded, and thus susceptible to electrical noise and interference.
In a case like that, though, I would expect a
60Hz hum (50Hz hum?) rather than a high-pitched whine like you describe, so I may be off target.