#include <cstddef>
#include <limits>
Go to the source code of this file.
|
bool | operator== (sampleCount a, sampleCount b) |
|
bool | operator!= (sampleCount a, sampleCount b) |
|
bool | operator< (sampleCount a, sampleCount b) |
|
bool | operator>= (sampleCount a, sampleCount b) |
|
bool | operator> (sampleCount a, sampleCount b) |
|
bool | operator<= (sampleCount a, sampleCount b) |
|
sampleCount | operator+ (sampleCount a, sampleCount b) |
|
sampleCount | operator- (sampleCount a, sampleCount b) |
|
sampleCount | operator* (sampleCount a, sampleCount b) |
|
sampleCount | operator/ (sampleCount a, sampleCount b) |
|
sampleCount | operator% (sampleCount a, sampleCount b) |
|
MATH_API size_t | limitSampleBufferSize (size_t bufferSize, sampleCount limit) |
|
◆ limitSampleBufferSize()
MATH_API size_t limitSampleBufferSize |
( |
size_t |
bufferSize, |
|
|
sampleCount |
limit |
|
) |
| |
Definition at line 22 of file SampleCount.cpp.
23{
24 return
26 .as_size_t();
27}
Positions or offsets within audio files need a wide type.
References min().
Referenced by EffectStage::Acquire(), WideSampleSource::Acquire(), NormalizeBase::AnalyseTrackData(), TruncSilenceBase::Analyze(), CompareAudioCommand::Apply(), AutoDuckBase::ApplyDuckFade(), VoiceKey::CalibrateNoise(), Sequence::Delete(), WaveTrack::Disjoin(), AudioSegmentSampleView::DoAdd(), EffectStage::FetchProcessAndAdvance(), Sequence::Get(), NyquistBase::NyxContext::GetCallback(), WaveTrack::GetEnvelopeValues(), ClipSegment::GetFloats(), Sequence::GetFloatSampleView(), Sequence::GetMinMax(), ScrubbingPlaybackPolicy::GetPlaybackSlice(), anonymous_namespace{WaveTrack.cpp}::GetRenderedCopy(), Sequence::GetRMS(), anonymous_namespace{WaveChannelUtilities.cpp}::GetSampleAccessArgs(), ImportRaw(), MixerSource::MixSameRate(), MixerSource::MixVariableRates(), VoiceKey::OffBackward(), VoiceKey::OffForward(), VoiceKey::OnBackward(), VoiceKey::OnForward(), RealtimeEffectState::Process(), TrackSpectrumTransformer::Process(), AutoDuckBase::Process(), SBSMSBase::Process(), VampEffect::Process(), DtmfBase::Instance::ProcessBlock(), ChangeSpeedBase::ProcessOne(), ClickRemovalBase::ProcessOne(), FindClippingBase::ProcessOne(), EqualizationBase::ProcessOne(), EffectTwoPassSimpleMono::ProcessOne(), NormalizeBase::ProcessOne(), LoudnessBase::ProcessOne(), ClipTimeAndPitchSource::Pull(), WaveClip::Resample(), resampleCB(), anonymous_namespace{WaveTrackUtilities.cpp}::ReverseOneClip(), Sequence::SetSamples(), SelectHandle::StartSnappingFreqSelection(), VoiceKey::TestDirectionChanges(), VoiceKey::TestEnergy(), and VoiceKey::TestSignChanges().
◆ operator!=()
◆ operator%()
◆ operator*()
◆ operator+()
◆ operator-()
◆ operator/()
◆ operator<()
◆ operator<=()
◆ operator==()
◆ operator>()
◆ operator>=()