I know this is off topic, but what kind of 5.1 encoders are being used out there, and how do you like them?

Is 5.1 encoding better done in hardware or software? (I use DP)