My audio amplifier has an inadequate number of optical digital audio inputs to match the number of pieces of equipment that I want to have playing in 5.1 surround sound.

I'd like to overload one of the inputs and have the playstation 2 and the playstation 3 both go into that same input. Since I won't be playing the two game consoles at the same time, it seems to me that I should be able to just Y the two optical audio cables into the one input and they should work. Would they?

Would something like this do what I want? Anyone know if this idea will work?
_________________________
Tony Fabris