amr encode/decode on iOS