[−][src]Function dbap::k_coefficient
pub fn k_coefficient<S>(a: S, speakers: &[Speaker<S>]) -> S where
S: Scalar,
k
is a coefficient depending on the position of the source and all speakers.
Returns 0.0
if all speakers had a weight or distance of 0.0
.
Panics if there were no speakers in the list.