Remove unused functions.
Fix audio play error.