Audacity 3.2.0
|
Classes | |
struct | SampleAccessArgs |
Typedefs | |
template<typename FloatType > | |
using | BufferCharType = std::conditional_t< std::is_const_v< std::remove_pointer_t< FloatType > >, constSamplePtr, samplePtr > |
Functions | |
void | RoundToNearestClipSample (const WaveChannel &channel, double &t) |
template<typename BufferType > | |
SampleAccessArgs< BufferType > | GetSampleAccessArgs (const Clip &clip, double startOrEndTime, BufferType buffer, size_t totalToRead, size_t alreadyRead, bool forward) |
template<typename ClipPointer > | |
auto | DoGetNextClip (const std::vector< ClipPointer > &clips, const Clip &clip, PlaybackDirection direction) -> ClipPointer |
template<typename ClipPointer > | |
auto | DoGetAdjacentClip (const std::vector< ClipPointer > &clips, const Clip &clip, PlaybackDirection direction) -> ClipPointer |
using anonymous_namespace{WaveChannelUtilities.cpp}::BufferCharType = typedef std::conditional_t< std::is_const_v<std::remove_pointer_t<FloatType> >, constSamplePtr, samplePtr> |
Definition at line 125 of file WaveChannelUtilities.cpp.
auto anonymous_namespace{WaveChannelUtilities.cpp}::DoGetAdjacentClip | ( | const std::vector< ClipPointer > & | clips, |
const Clip & | clip, | ||
PlaybackDirection | direction | ||
) | -> ClipPointer |
Definition at line 329 of file WaveChannelUtilities.cpp.
References forward, and WaveChannelUtilities::GetNextClip().
Referenced by WaveChannelUtilities::GetAdjacentClip().
auto anonymous_namespace{WaveChannelUtilities.cpp}::DoGetNextClip | ( | const std::vector< ClipPointer > & | clips, |
const Clip & | clip, | ||
PlaybackDirection | direction | ||
) | -> ClipPointer |
IsSortedByPlayStartTime(clips)
Definition at line 310 of file WaveChannelUtilities.cpp.
References WaveChannelUtilities::CompareClipsByPlayStartTime(), forward, and WaveChannelUtilities::IsSortedByPlayStartTime().
Referenced by WaveChannelUtilities::GetNextClip().
SampleAccessArgs< BufferType > anonymous_namespace{WaveChannelUtilities.cpp}::GetSampleAccessArgs | ( | const Clip & | clip, |
double | startOrEndTime, | ||
BufferType | buffer, | ||
size_t | totalToRead, | ||
size_t | alreadyRead, | ||
bool | forward | ||
) |
Definition at line 137 of file WaveChannelUtilities.cpp.
References forward, WaveClipChannel::GetPlayDuration(), WaveClipChannel::GetPlayStartTime(), WaveClipChannel::GetRate(), WaveClipChannel::GetStretchRatio(), WaveClipChannel::GetVisibleSampleCount(), limitSampleBufferSize(), min(), and fast_float::round().
Referenced by WaveChannelUtilities::GetFloatsFromTime(), and WaveChannelUtilities::SetFloatsFromTime().
void anonymous_namespace{WaveChannelUtilities.cpp}::RoundToNearestClipSample | ( | const WaveChannel & | channel, |
double & | t | ||
) |
Definition at line 98 of file WaveChannelUtilities.cpp.
References WaveChannelUtilities::GetClipAtTime().
Referenced by WaveChannelUtilities::GetFloatsFromTime(), and WaveChannelUtilities::SetFloatsFromTime().