Final fix to sound codec