Fix decode parameters, you can hear correct sound output after encode then decode.