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