Revise error handling in mm_sound_proxy.c