Module rodio::source
[−]
[src]
Sources of sound and various filters.
Structs
Amplify |
Filter that modifies each sample by a given value. |
BltFilter | |
Buffered |
Iterator that at the same time extracts data from the iterator and stores it in a buffer. |
ChannelVolume |
Combines channels in input into a single mono source, then plays that mono sound to each channel at the volume given for that channel. |
Delay |
A source that delays the given source by a certain amount. |
Done |
WHen the inner source is empty this decrements an AtomicUsize |
Empty |
An empty source. |
FadeIn |
Filter that modifies each sample by a given value. |
FromFactoryIter |
Internal type used by |
FromIter |
A source that chains sources provided by an iterator. |
Mix |
Filter that modifies each sample by a given value. |
Pausable | |
PeriodicAccess |
Calls a function on a source every time a period elapsed. |
Repeat |
A source that repeats the given source. |
SamplesConverter |
An iterator that reads from a |
SineWave |
An infinite source that produces a sine. |
Spatial |
Combines channels in input into a single mono source, then plays that mono sound to each channel at the volume given for that channel. |
Speed |
Filter that modifies each sample by a given value. |
Stoppable | |
TakeDuration |
A source that repeats the given source. |
UniformSourceIterator |
An iterator that reads from a |
Zero |
An infinite source that produces zero. |
Traits
Source |
A source of samples. |
Functions
from_factory |
Builds a source that chains sources built from a factory. |
from_iter |
Builds a source that chains sources provided by an iterator. |