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

Method GetAudioChannelsCount

src/Frame.cpp:358–365  ·  view source on GitHub ↗

Get number of audio channels

Source from the content-addressed store, hash-verified

356
357// Get number of audio channels
358int Frame::GetAudioChannelsCount()
359{
360 const std::lock_guard<std::recursive_mutex> lock(addingAudioMutex);
361 if (audio)
362 return audio->getNumChannels();
363 else
364 return 0;
365}
366
367// Get number of audio samples
368int Frame::GetAudioSamplesCount()

Callers 13

write_audio_packetsMethod · 0.80
getNextAudioBlockMethod · 0.80
GetFrameMethod · 0.80
apply_timemappingMethod · 0.80
AddMethod · 0.80
add_layerMethod · 0.80
GetFrameMethod · 0.80
ResampleMappedAudioMethod · 0.80
FFmpegWriter.cppFile · 0.80
FFmpegReader.cppFile · 0.80
CacheDisk.cppFile · 0.80
Frame.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected