Well to do it properly you need either a switch box OR a mixer.

Switch boxes can be automatic though. I'm fairly certain you can get a switch box which automatically selects which unit is outputting a signal. One of the inputs would have priority so it would switch to that if both units were on.

Can't seem to find anything in a quick Google, but I know there are at least AV versions of the same thing.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)