Audacity 3.2.0
|
#include <ClipTimeAndPitchSource.h>
Public Member Functions | |
ClipTimeAndPitchSource (const ClipInterface &, double durationToDiscard, PlaybackDirection) | |
void | Pull (float *const *, size_t samplesPerChannel) override |
size_t | NChannels () const |
Public Member Functions inherited from TimeAndPitchSource | |
virtual | ~TimeAndPitchSource () |
virtual void | Pull (float *const *, size_t samplesPerChannel)=0 |
Private Attributes | |
const ClipInterface & | mClip |
sampleCount | mLastReadSample = 0 |
const PlaybackDirection | mPlaybackDirection |
ChannelSampleViews | mChannelSampleViews |
Definition at line 23 of file ClipTimeAndPitchSource.h.
ClipTimeAndPitchSource::ClipTimeAndPitchSource | ( | const ClipInterface & | clip, |
double | durationToDiscard, | ||
PlaybackDirection | direction | ||
) |
Definition at line 35 of file ClipTimeAndPitchSource.cpp.
size_t ClipTimeAndPitchSource::NChannels | ( | ) | const |
Definition at line 90 of file ClipTimeAndPitchSource.cpp.
References mClip, and ClipInterface::NChannels().
Referenced by ClipSegment::NChannels().
|
overridevirtual |
Implements TimeAndPitchSource.
Definition at line 44 of file ClipTimeAndPitchSource.cpp.
References AudioSegmentSampleView::Copy(), floatSample, forward, ClipInterface::GetSampleView(), ClipTimes::GetVisibleSampleCount(), limitSampleBufferSize(), mChannelSampleViews, mClip, mLastReadSample, mPlaybackDirection, ClipInterface::NChannels(), and ReverseSamples().
|
private |
Definition at line 39 of file ClipTimeAndPitchSource.h.
Referenced by Pull().
|
private |
Definition at line 36 of file ClipTimeAndPitchSource.h.
Referenced by NChannels(), and Pull().
|
private |
Definition at line 37 of file ClipTimeAndPitchSource.h.
Referenced by Pull().
|
private |
Definition at line 38 of file ClipTimeAndPitchSource.h.
Referenced by Pull().