-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
40 changed files
with
1,285 additions
and
838 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,26 @@ | ||
pub mod audio_channel; | ||
pub use self::audio_channel::{AudioChannel, AudioChannelSide, INLINE_CHANNELS}; | ||
|
||
pub mod audio_buffer; | ||
pub use self::audio_buffer::AudioBuffer; | ||
|
||
pub mod dbl_audio_buffer; | ||
pub use self::dbl_audio_buffer::DoubleAudioBuffer; | ||
|
||
pub mod playback_pipeline; | ||
pub use self::playback_pipeline::{ | ||
MissingPlugins, OpenError, PlaybackPipeline, SeekError, SelectStreamsError, StateChangeError, | ||
QUEUE_SIZE, | ||
}; | ||
|
||
pub mod sample_extractor; | ||
pub use self::sample_extractor::SampleExtractor; | ||
|
||
pub mod sample_index; | ||
pub use self::sample_index::SampleIndex; | ||
|
||
pub mod sample_index_range; | ||
pub use self::sample_index_range::SampleIndexRange; | ||
|
||
pub mod sample_value; | ||
pub use self::sample_value::SampleValue; | ||
|
||
pub mod splitter_pipeline; | ||
pub use self::splitter_pipeline::SplitterPipeline; | ||
|
||
pub mod timestamp; | ||
pub use self::timestamp::Timestamp; | ||
|
||
pub mod toc_setter_pipeline; | ||
pub use self::toc_setter_pipeline::TocSetterPipeline; | ||
|
||
use metadata::Duration; | ||
|
||
/// Max duration that queues can hold. | ||
pub const QUEUE_SIZE: Duration = Duration::from_secs(5); | ||
|
||
#[derive(Clone, Debug)] | ||
pub enum MediaEvent { | ||
Eos, | ||
Error(String), | ||
ReadyToRefresh, | ||
// FIXME remove those | ||
AsyncDone, | ||
MustRefresh, | ||
FailedToExport(String), | ||
InitDone, | ||
SeekDone, | ||
StateChanged, | ||
} |
Oops, something went wrong.