Module awedio::utils

source ·
Expand description

Misc utilities

Functions§

  • Convert a number of samples at an old sample rate and channel count to a new number of samples at a different channel rate or sample count such that the new number of samples would be at the same time offset as the old number of samples.
  • Return the number of samples that happen within duration amount of time (truncates).