Type Definition dome_cloomnik::ChannelMix[][src]

type ChannelMix<T = ()> = fn(channel: &CallbackChannel<T>, buffer: &mut [[f32; 2]]);

The mix callback of channel. It is responsible to fill buffer. See DOME's documentation for more details.

It takes a reference to, and not a copy of, CallbackChannel, because we don't want it to drop the channel at the end, which will stop it.