Encode an input
encoded data
the data to encoding. also must be follow the audioFormat provided at startEncoding
the start offset in input
the number of bytes to encode