MCPcopy Create free account
hub / github.com/audacity/audacity / GetFloatAtTime

Method GetFloatAtTime

libraries/lib-wave-track/WaveChannelUtilities.cpp:203–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201}
202
203bool WaveChannelUtilities::GetFloatAtTime(const WaveChannel &channel,
204 double t, float& value, bool mayThrow)
205{
206 const auto clip = GetClipAtTime(channel, t);
207 if (!clip)
208 return false;
209 return GetFloatAtTime(*clip, t, value, mayThrow);
210}
211
212bool WaveChannelUtilities::GetFloatAtTime(const Clip &clip,
213 double t, float& value, bool mayThrow)

Callers

nothing calls this directly

Calls 3

GetChannelIndexMethod · 0.80
GetClipMethod · 0.80
GetPlayStartTimeMethod · 0.45

Tested by

no test coverage detected