OpenShot Library | libopenshot-audio 0.2.0
|
A type of AudioSource that will read from an AudioFormatReader. More...
#include <juce_AudioFormatReaderSource.h>
Additional Inherited Members | |
![]() | |
PositionableAudioSource ()=default | |
Creates the PositionableAudioSource. | |
![]() | |
AudioSource ()=default | |
Creates an AudioSource. | |
A type of AudioSource that will read from an AudioFormatReader.
Definition at line 42 of file juce_AudioFormatReaderSource.h.
juce::AudioFormatReaderSource::AudioFormatReaderSource | ( | AudioFormatReader * | sourceReader, |
bool | deleteReaderWhenThisIsDeleted | ||
) |
Creates an AudioFormatReaderSource for a given reader.
sourceReader | the reader to use as the data source - this must not be null |
deleteReaderWhenThisIsDeleted | if true, the reader passed-in will be deleted when this object is deleted; if false it will be left up to the caller to manage its lifetime |
Definition at line 30 of file juce_AudioFormatReaderSource.cpp.
|
override |
Destructor.
Definition at line 39 of file juce_AudioFormatReaderSource.cpp.
Toggles loop-mode.
If set to true, it will continuously loop the input source. If false, it will just emit silence after the source has finished.
Reimplemented from juce::PositionableAudioSource.
Definition at line 43 of file juce_AudioFormatReaderSource.cpp.
|
inlineoverridevirtual |
Returns whether loop-mode is turned on or not.
Implements juce::PositionableAudioSource.
Definition at line 71 of file juce_AudioFormatReaderSource.h.
|
inlinenoexcept |
Returns the reader that's being used.
Definition at line 74 of file juce_AudioFormatReaderSource.h.
|
overridevirtual |
Implementation of the AudioSource method.
Implements juce::AudioSource.
Definition at line 51 of file juce_AudioFormatReaderSource.cpp.
|
overridevirtual |
Implementation of the AudioSource method.
Implements juce::AudioSource.
Definition at line 52 of file juce_AudioFormatReaderSource.cpp.
|
overridevirtual |
Implementation of the AudioSource method.
Implements juce::AudioSource.
Definition at line 54 of file juce_AudioFormatReaderSource.cpp.
|
overridevirtual |
Implements the PositionableAudioSource method.
Implements juce::PositionableAudioSource.
Definition at line 42 of file juce_AudioFormatReaderSource.cpp.
|
overridevirtual |
Implements the PositionableAudioSource method.
Implements juce::PositionableAudioSource.
Definition at line 45 of file juce_AudioFormatReaderSource.cpp.
|
overridevirtual |
Implements the PositionableAudioSource method.
Implements juce::PositionableAudioSource.
Definition at line 41 of file juce_AudioFormatReaderSource.cpp.