MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / AudioReaderSource

Method AudioReaderSource

src/AudioReaderSource.cpp:21–24  ·  view source on GitHub ↗

Constructor that reads samples from a reader

Source from the content-addressed store, hash-verified

19
20// Constructor that reads samples from a reader
21AudioReaderSource::AudioReaderSource(ReaderBase *audio_reader, int64_t starting_frame_number)
22 : reader(audio_reader), frame_position(starting_frame_number), videoCache(NULL), frame(NULL),
23 sample_position(0), speed(1), stream_position(0) {
24}
25
26// Destructor
27AudioReaderSource::~AudioReaderSource()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected