Consider capturing the stream instead of the sound output.
this can be done using hinet recorder, for example - for asf/wmv streams. I'm sure there are other open source, freeware, solutions out there.
Notice that some other online services aren't actually streaming audio, but downloading the entire mp3 file to your hard-drive (such as pandora.com, for example), for these stations you can (and should) use a specialized capturing utility - such as Pandora's Jar.
Good luck.