Searched refs:GetFract (Results 1 – 7 of 7) sorted by relevance
/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/soundlib/ |
H A D | Snd_defs.h | 590 …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 D | MixerInterface.h | 91 interpolate(outSample, inSample + smpPos.GetInt() * Traits::numChannelsIn, smpPos.GetFract()); in SampleLoop()
|
H A D | InstrumentExtensions.cpp | 331 WRITE_MPTHEADER_trunc_member( pitchToTempoLock.GetFract() , uint16 , MagicLE("PTTF") ) in WriteInstrumentHeaderStructOrField() 619 input->pitchToTempoLock.Set(tmp, input->pitchToTempoLock.GetFract()); in ReadInstrumentHeaderField()
|
H A D | Fastmix.cpp | 168 …tion(chn.nLength - (chn.position.GetInt() - chn.nLength) - invFract.GetInt(), invFract.GetFract()); in GetSampleCount()
|
H A D | Load_it.cpp | 2177 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 D | TestToolsLib.h | 136 …>{") + 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 D | test.cpp | 943 VERIFY_EQUAL(SamplePosition(2, SamplePosition::fractMax).GetFract(), SamplePosition::fractMax); in TestMisc2()
|