Remove unused audio related functions
Avoid early return without releasing lock