Unfortunately, Vegas pro does not output Dolby Digital 5.1 surround. Your best bet is to output the surround as a split multichannel wav file (where it outputs individual wav files for each channel) and then import those files into an app that can encode dolby digital.