Releases: neodsp/neo-audio
Releases · neodsp/neo-audio
Switch to rust-portaudio, update dependencies
As the RustAudio/rust-portaudio repository finally received some updates, I am switching to this repository.
Also updated all Dependencies and switched to Tauri stable in the examples, as Tauri 2 was released in the meantime.
neo-audio 0.2.0
Update to 0.2.0
- API Changes
- Integrate Portaudio and experimental CPAL backend
- Switch to Portaudio by default
Breaking Changes
- NeoAudio is now only generic over the backend and not over the processor anymore, this enables to change the processor without constructing a new NeoAudio.
So instead of
let mut neo_audio = NeoAudio::<RtAudioBackend, MyProcessor>::new()?;
you have to call
let mut neo_audio = NeoAudio::<PortAudioBackend>::new()?;
- Calling
start_audio
now returns the specific sender that you need to store, so you can not callNeoAudio::send_message
anymore.
Instead of
neo_audio.start_audio(MyProcessor::default())?;
neo_audio.send_message(MyMessage::Gain(0.5))?;
you have to call
let sender = neo_audio.start_audio(MyProcessor::default())?;
sender.send(MyMessage::Gain(0.5))?;
neo-audio 0.1.0
First version of neo-audio using only rt-audio as backend and including mutliple examples.
This is work in progress, it can be used to experiment, but should not be used in production code!