dr_st wrote:Assuming both sound cards output stereo, another simple and very cheap dumb analog solution is just a 2x3.5mm to a single 3.5mm adapter. You will get garbage if both output at the same time, but that's probably not something you will do.
Actually, if the output would be garbage, it would be garbage even if only one of them is outputing anything, because the other one is actively outputing steady state level.
And connecting two outputs together is never a good idea, sound cards may have speaker outputs driven by speaker amplifier that runs from 12 volts, so they would be fighting hard against each other. Line outputs that are driven by simple operational amplifiers might work but it's really better not to do that either, as sometimes you can't tell if the only output on the sound card is speaker or line level output. The speaker output connected to line output might even blow up the line output.
Basically same thing as connecting two amplifiers at the same time to one speaker, I would advise against connecting two outputs together, unless I know what kind of output stages the connectors have.