1. adjust the dts and ape audio codec of input buffer size
2. adjust code style