Remove unnecessary check in keysound cache
Refactor audio encoding / decoding