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

Method GetAudioSamplesCount

src/Frame.cpp:368–372  ·  view source on GitHub ↗

Get number of audio samples

Source from the content-addressed store, hash-verified

366
367// Get number of audio samples
368int Frame::GetAudioSamplesCount()
369{
370 const std::lock_guard<std::recursive_mutex> lock(addingAudioMutex);
371 return max_audio_sample;
372}
373
374juce::AudioBuffer<float> *Frame::GetAudioSampleBuffer()
375{

Callers 15

write_audio_packetsMethod · 0.80
getNextAudioBlockMethod · 0.80
GetFrameMethod · 0.80
apply_timemappingMethod · 0.80
GetOrCreateFrameMethod · 0.80
AddMethod · 0.80
add_layerMethod · 0.80
GetFrameMethod · 0.80
ResampleMappedAudioMethod · 0.80
FFmpegWriter.cppFile · 0.80
Clip.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected