export more audio encoding fields
support audio channel layout

both in encoding and in decoding, but likely more useful
for encoding.
still WIP, need polishing.
reformat for PEP8