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

Method getTotalLength

src/AudioBufferSource.cpp:98–102  ·  view source on GitHub ↗

Get the total length (in samples) of this audio source

Source from the content-addressed store, hash-verified

96
97// Get the total length (in samples) of this audio source
98juce::int64 AudioBufferSource::getTotalLength() const
99{
100 // Get the length
101 return buffer->getNumSamples();
102}
103
104// Determines if this audio source should repeat when it reaches the end
105bool AudioBufferSource::isLooping() const

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected