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

Method setNextReadPosition

src/AudioBufferSource.cpp:83–88  ·  view source on GitHub ↗

Set the next read position of this source

Source from the content-addressed store, hash-verified

81
82// Set the next read position of this source
83void AudioBufferSource::setNextReadPosition (juce::int64 newPosition)
84{
85 // set position (if the new position is in range)
86 if (newPosition >= 0 && newPosition < buffer->getNumSamples())
87 position = newPosition;
88}
89
90// Get the next read position of this source
91juce::int64 AudioBufferSource::getNextReadPosition() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected