Skip to content

Releases: neodsp/neo-audio

neo-audio 0.2.0

22 Jun 07:11
c47571f
Compare
Choose a tag to compare
neo-audio 0.2.0 Pre-release
Pre-release

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 call NeoAudio::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

21 Jun 18:51
e27a40d
Compare
Choose a tag to compare
neo-audio 0.1.0 Pre-release
Pre-release

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!