ez_audio

Crates.ioez_audio
lib.rsez_audio
version0.1.6
sourcesrc
created_at2021-04-07 10:10:35.6748
updated_at2021-06-06 13:09:15.430275
description🔊 A easy to use audio playback library
homepage
repository
max_upload_size
id380303
size4,073,190
Axel Kappel (Kl4rry)

documentation

README

ez-audio

Crates.io Docs.rs License: MIT
ez-audio is a easy to use audio playback library that uses the C library miniaudio as a backend.
Currently only compiles on nightly and a C++ compiler is required as it depends on the cc crate.

Supported Codecs

  • MP3

  • WAV

  • Vorbis

  • Flac

Examples

Minimal

    let context = Context::new().unwrap();
    let mut clip = AudioLoader::new("audio.mp3", context.clone())
        .load()
        .unwrap();

    clip.play();
    // loop forever to stop handle from being dropped
    loop {}
Commit count: 0

cargo fmt