I have a voice sample. It's coded with 8 bits per sample (char).

What's the correct algorithm to convert the VALUE (not just the type) into 16 bits (short)?

Thanks