pub fn with_client<R, F: FnOnce(&mut AudioClient) -> R>(
f: F,
) -> Result<R, KernelError>Expand description
Access the global audio client through a closure
pub fn with_client<R, F: FnOnce(&mut AudioClient) -> R>(
f: F,
) -> Result<R, KernelError>Access the global audio client through a closure