rawdio 0.14.0

An Audio Engine, inspired by the Web Audio API
Documentation
1
2
3
4
5
6
7
8
9
10
use crate::{effects::Channel, OwnedAudioBuffer};

pub enum RecorderNotification {
    Start,
    Data(OwnedAudioBuffer, usize),
    Stop,
}

pub type RecorderNotificationTransmitter = Channel::Sender<RecorderNotification>;
pub type RecorderNotificationReceiver = Channel::Receiver<RecorderNotification>;