PistonDevelopers/rust-dsp — pull request #56 by mitchmindtree (2014-11-28 21:20:41+00:00)
Title: BREAKING - dsp now depends on sound_stream, simplified Node and DspBuffer traits.

This is quite a significant refactor - if you're depending on this lib you'll likely have to make some changes!

- Most stuff that's been removed has been moved to [SoundStream](https://github.com/mitchmindtree/sound_stream) but rust-dsp likely still re-exports the types.
- The `Node` trait has changed to no longer require the `DspNode` struct field - this is because `Settings` is now passed into audio_requested, and audio_received as an argument, and `vol` and `pan` are now returned via their own methods. This should make the `Node` trait much simpler to work with and more customisable.
- `DspBuffer` trait now derives from `sound_stream::AudioBuffer` and is much simpler. It is also now implemented for *all* `portaudio::pa::Sample` types, rather than just f32, and is also implemented for Vec.

I'll fix up the test.rs module tomorrow! For now I ripped everything out as it needs a complete redo.

For now ... sleep!

Fixes #55, Closes #50, Closes #44