|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Base class for audio based readers that can be chained together. More...
#include "tracktion_AudioReader.h"
Public Member Functions | |
| virtual | ~AudioReader ()=default |
| Destructor. | |
| virtual choc::buffer::ChannelCount | getNumChannels ()=0 |
| Must return the number of channels in the reader. | |
| virtual double | getSampleRate ()=0 |
| Should set the time position to be read from next. | |
| virtual SampleCount | getPosition ()=0 |
| Must return the sample position that will be read from next. | |
| virtual void | setPosition (SampleCount)=0 |
| Should set the sample position to be read from next. | |
| virtual void | setPosition (TimePosition)=0 |
| Should set the time position to be read from next. | |
| virtual void | reset ()=0 |
| Signifies a break in continuity and that the stream should reset itself. | |
| virtual bool | readSamples (choc::buffer::ChannelArrayView< float > &)=0 |
| Must read a number of frames from the source, filling the buffer. | |
Base class for audio based readers that can be chained together.
Definition at line 31 of file tracktion_AudioReader.h.