1 unstable release

0.1.0-beta.0 Dec 5, 2021

#354 in #music

MIT/Apache

490KB
12K SLoC

kira-cpal

kira-cpal is a Kira backend for desktop targets.

Examples

Setting up an AudioManager with a CpalBackend

use kira::manager::{AudioManager, AudioManagerSettings};
use kira_cpal::CpalBackend;

let mut manager = AudioManager::new(
	CpalBackend::new()?,
	AudioManagerSettings::default(),
)?;

License

This project is licensed under either of

  • Apache License, Version 2.0 (LICENSE-APACHE)
  • MIT license (LICENSE-MIT)

at your option.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in kira-cpal by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.


lib.rs:

kira-cpal

kira-cpal is a Kira backend for desktop targets.

Examples

Setting up an AudioManager with a CpalBackend

use kira::manager::{AudioManager, AudioManagerSettings};
use kira_cpal::CpalBackend;

let mut manager = AudioManager::new(
CpalBackend::new()?,
AudioManagerSettings::default(),
)?;

Dependencies

~0.8–5.5MB
~103K SLoC