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

Method getFrame

src/Qt/AudioPlaybackThread.cpp:233–237  ·  view source on GitHub ↗

Get the current frame object (which is filling the buffer)

Source from the content-addressed store, hash-verified

231
232 // Get the current frame object (which is filling the buffer)
233 std::shared_ptr<openshot::Frame> AudioPlaybackThread::getFrame()
234 {
235 if (source) return source->getFrame();
236 return std::shared_ptr<openshot::Frame>();
237 }
238
239 // Seek the audio thread
240 void AudioPlaybackThread::Seek(int64_t new_position)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected