Enable AC3 encoding only if "optical" device type is selected
We really don't want to trigger AC3 encoding just because the user
selected stereo channels and AC3 passthrough. In general, we want to
avoid AC3 encoding except if the user explicitly enables it, which is by
using the "optical" device type.