surround sound processor


Is there a procesor made that allows you to have different settings for subwoofer based on inputs? For example, when select DVD the signal is sent out the line level sub output, but when select CD the base is sent to the main speakers only.
chokurei