check, free and set null to avr context in sws_free macro
use remix matrix for avresample

channel mapping is not available in avr until avr version 1.1.
BUG:
    avr channel mapping crash for L and R
    audio format as input will always do init
TODO:
    swr remix matrix
channel mapping only once