[AudioIO] Add new APIs for Sample and channel type (#1001)