Skip to content

Commit

Permalink
Merge pull request #93 from tomaka/public-filters
Browse files Browse the repository at this point in the history
Make the engine filters public
  • Loading branch information
tomaka committed Feb 6, 2017
2 parents 6b8c418 + 9397cf1 commit e8bb880
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
5 changes: 2 additions & 3 deletions src/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,11 @@ use cpal::Voice;
use cpal::Endpoint;
use conversions::Sample;

use source::Pauseable;
use source::Source;
use source::VolumeFilter;
use source::UniformSourceIterator;

use engine_filters::Pauseable;
use engine_filters::VolumeFilter;

/// The internal engine of this library.
///
/// Each `Engine` owns a thread that runs in the background and plays the audio.
Expand Down
5 changes: 0 additions & 5 deletions src/engine_filters/mod.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ use std::io::{Read, Seek};

mod conversions;
mod engine;
mod engine_filters;

pub mod decoder;
pub mod source;
Expand Down
4 changes: 4 additions & 0 deletions src/source/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,26 @@ pub use self::buffered::Buffered;
pub use self::delay::Delay;
pub use self::fadein::FadeIn;
pub use self::mix::Mix;
pub use self::pauseable::Pauseable;
pub use self::repeat::Repeat;
pub use self::sine::SineWave;
pub use self::speed::Speed;
pub use self::take::TakeDuration;
pub use self::uniform::UniformSourceIterator;
pub use self::volume_filter::VolumeFilter;

mod amplify;
mod buffered;
mod delay;
mod fadein;
mod mix;
mod pauseable;
mod repeat;
mod sine;
mod speed;
mod take;
mod uniform;
mod volume_filter;

/// A source of samples.
pub trait Source: Iterator
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit e8bb880

Please sign in to comment.