Function alaw_expand
Source pub fn alaw_expand(compressed: u8) -> i16
Expand description
A-law expansion according to ITU-T G.711
Expands an 8-bit A-law encoded sample to 16-bit linear PCM.
§Arguments
compressed - A-law encoded sample (8-bit)
§Returns
Linear PCM sample (16-bit signed)
§Algorithm
Based on ITU-T G.711 specification and reference implementation.