Function libpulse_binding::volume::sw_volume_divide [] [src]

pub fn sw_volume_divide(a: Volume, b: Volume) -> Volume

Divide two volume specifications, return the result.

This uses VOLUME_NORM as neutral element of division. This is only valid for software volumes! If a division by zero is tried the result will be 0.