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

Method SampleRate

src/Frame.cpp:502–505  ·  view source on GitHub ↗

Get the original sample rate of this frame's audio data

Source from the content-addressed store, hash-verified

500
501// Get the original sample rate of this frame's audio data
502int Frame::SampleRate()
503{
504 return sample_rate;
505}
506
507// Get the original sample rate of this frame's audio data
508ChannelLayout Frame::ChannelsLayout()

Callers 15

write_audio_packetsMethod · 0.45
GetOrCreateFrameMethod · 0.45
CreateFrameMethod · 0.45
AddMethod · 0.45
GetFrameMethod · 0.45
GetOrCreateFrameMethod · 0.45
GetFrameMethod · 0.45
ResampleMappedAudioMethod · 0.45
setupMethod · 0.45
GetFrameMethod · 0.45
GetFrameMethod · 0.45
GetFrameMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected