At least in this thread:
BeSweet + AC3Enc: Tag generated 2.0 AC3 as "surround" if downmix was used is claimed the Dolby Surround Mode flag.
I think is easy to implement, without waste resources, and why not?
I make the necessary (I hope) mods to include the four parameters in
Aften_mod_sources
All parameters are optional, also when use:
aften input.wav output.ac3
is encoded CBR with 448 Kb/s for 6 channel wav or 192 Kb/s for other number of channels.
Please, if anybody can compile this sources (I don't have the appropriate compiler) I can test the result. Thanks.
Edit: @vmesquita, I can't access your links. Please use
http://www.mytempdir.com/