needs_normalization

Function needs_normalization 

Source
pub fn needs_normalization(format: usize, bits_per_sample: usize) -> bool
Expand description

Check if the data needs normalization

§Parameters

  • format: the data format
  • bits_per_sample: the bits per sample

§Returns

true if the data needs normalization