Isellstuff...What you describe would be an active (powered) device, and would cost more than "several" dollars. I think that Partsexpress.com has such a device. They also have a manually actuated optical switch. It would be used if your amp had too few inputs for the sources you want to connect. My application was the oposite situation.
However, the passive splitter might work in reverse so long as only one source is powered up at a time.
However, the passive splitter might work in reverse so long as only one source is powered up at a time.