Home
last modified time | relevance | path

Searched refs:GetFract (Results 1 – 7 of 7) sorted by relevance

/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/soundlib/
H A DSnd_defs.h590 …on &SetInt(int32 intPart) { v = (static_cast<value_t>(intPart) << 32) | GetFract(); return *this; } in SetInt()
596 MPT_CONSTEXPRINLINE uint32 GetFract() const { return static_cast<uint32>(v); } in GetFract() function
598 …LINE SamplePosition GetInvertedFract() const { return SamplePosition(0x100000000ll - GetFract()); } in GetInvertedFract()
670 MPT_CONSTEXPRINLINE T GetFract() const { return v % fractFact; } in GetFract() function
H A DMixerInterface.h91 interpolate(outSample, inSample + smpPos.GetInt() * Traits::numChannelsIn, smpPos.GetFract()); in SampleLoop()
H A DInstrumentExtensions.cpp331 WRITE_MPTHEADER_trunc_member( pitchToTempoLock.GetFract() , uint16 , MagicLE("PTTF") ) in WriteInstrumentHeaderStructOrField()
619 input->pitchToTempoLock.Set(tmp, input->pitchToTempoLock.GetFract()); in ReadInstrumentHeaderField()
H A DFastmix.cpp168 …tion(chn.nLength - (chn.position.GetInt() - chn.nLength) - invFract.GetInt(), invFract.GetFract()); in GetSampleCount()
H A DLoad_it.cpp2177 if(m_nDefaultTempo.GetFract() != 0 && specs.hasFractionalTempo) in SaveExtendedSongProperties()
2179 uint32 tempo = m_nDefaultTempo.GetFract(); in SaveExtendedSongProperties()
2396 …po; ReadField(chunk, size, tempo); m_nDefaultTempo.Set(tempo, m_nDefaultTempo.GetFract()); break; } in LoadExtendedSongProperties()
/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/test/
H A DTestToolsLib.h136 …>{") + mpt::afmt::val(x.GetInt()) + std::string(".") + mpt::afmt::val(x.GetFract()) + std::string(…
145 …t::afmt::val(x.GetInt()) + std::string(".") + std::string("0x") + mpt::afmt::hex0<8>(x.GetFract());
H A Dtest.cpp943 VERIFY_EQUAL(SamplePosition(2, SamplePosition::fractMax).GetFract(), SamplePosition::fractMax); in TestMisc2()