Home
last modified time | relevance | path

Searched refs:fadeLength (Results 1 – 25 of 67) sorted by relevance

123

/dports/games/scummvm/scummvm-2.5.1/engines/gob/sound/
H A Dsoundblaster.cpp42 int16 frequency, int16 fadeLength) { in playSample() argument
43 SoundMixer::play(sndDesc, repCount, frequency, fadeLength); in playSample()
46 void SoundBlaster::stopSound(int16 fadeLength, SoundDesc *sndDesc) { in stopSound() argument
54 if (fadeLength <= 0) in stopSound()
57 SoundMixer::stop(fadeLength); in stopSound()
112 int16 fadeLength) { in setSample() argument
115 SoundMixer::setSample(sndDesc, repCount, frequency, fadeLength); in setSample()
H A Dsoundmixer.cpp77 void SoundMixer::stop(int16 fadeLength) { in stop() argument
80 if (fadeLength <= 0) { in stop()
89 _fadeSamples = (int)(fadeLength * (((double) _rate) / 10.0)); in stop()
101 int16 fadeLength) { in setSample() argument
128 if (fadeLength == 0) { in setSample()
136 _fadeSamples = (int)(fadeLength * (((double) _rate) / 10.0)); in setSample()
142 int16 fadeLength) { in play() argument
148 setSample(sndDesc, repCount, frequency, fadeLength); in play()
H A Dsoundblaster.h44 int16 frequency, int16 fadeLength = 0);
45 void stopSound(int16 fadeLength, SoundDesc *sndDesc = 0);
67 int16 frequency, int16 fadeLength) override;
H A Dsoundmixer.h41 int16 frequency, int16 fadeLength = 0);
42 virtual void stop(int16 fadeLength);
87 int16 frequency, int16 fadeLength);
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/sound/
H A Dsoundblaster.cpp42 int16 frequency, int16 fadeLength) { in playSample() argument
43 SoundMixer::play(sndDesc, repCount, frequency, fadeLength); in playSample()
46 void SoundBlaster::stopSound(int16 fadeLength, SoundDesc *sndDesc) { in stopSound() argument
54 if (fadeLength <= 0) in stopSound()
57 SoundMixer::stop(fadeLength); in stopSound()
112 int16 fadeLength) { in setSample() argument
115 SoundMixer::setSample(sndDesc, repCount, frequency, fadeLength); in setSample()
H A Dsoundmixer.cpp77 void SoundMixer::stop(int16 fadeLength) { in stop() argument
80 if (fadeLength <= 0) { in stop()
89 _fadeSamples = (int)(fadeLength * (((double) _rate) / 10.0)); in stop()
101 int16 fadeLength) { in setSample() argument
128 if (fadeLength == 0) { in setSample()
136 _fadeSamples = (int)(fadeLength * (((double) _rate) / 10.0)); in setSample()
142 int16 fadeLength) { in play() argument
148 setSample(sndDesc, repCount, frequency, fadeLength); in play()
H A Dsoundblaster.h44 int16 frequency, int16 fadeLength = 0);
45 void stopSound(int16 fadeLength, SoundDesc *sndDesc = 0);
67 int16 frequency, int16 fadeLength);
H A Dsoundmixer.h41 int16 frequency, int16 fadeLength = 0);
42 virtual void stop(int16 fadeLength);
87 int16 frequency, int16 fadeLength);
/dports/audio/sonic-visualiser/sonic-visualiser-4.0.1/svapp/audio/
H A DContinuousSynth.cpp56 sv_frame_t fadeLength = 100; in mix() local
74 if (wasOn && nowOn && (f0 != m_prevF0) && (i < fadeLength)) { in mix()
76 fHere = m_prevF0 + ((f0 - m_prevF0) * double(i)) / double(fadeLength); in mix()
130 if (!wasOn && i < fadeLength) { in mix()
132 v = v * (double(i) / double(fadeLength)); in mix()
135 if (i > fadeLength) v = 0; in mix()
136 else v = v * (1.0 - (double(i) / double(fadeLength))); in mix()
/dports/devel/etl/synfig-1.2.2/synfig-osx/launcher/
H A Dquartz-audio.c60 UInt32 fadeLength; member
84 UInt32 fadeLength ) in QuartzAudioEnvelope() argument
86 double fadeFrames = min(fadeLength, totalFrames / 2); in QuartzAudioEnvelope()
123 for (frame = 0; frame < data->fadeLength; frame++) { in QuartzFillBuffer()
125 QuartzAudioEnvelope(frame+data->fadeLength, in QuartzFillBuffer()
126 2*data->fadeLength, in QuartzFillBuffer()
127 data->fadeLength) * in QuartzFillBuffer()
147 data->fadeLength) * in QuartzFillBuffer()
328 data.fadeLength = data.sampleRate / 200; in QuartzAudioInit()
/dports/graphics/synfig/synfig-1.2.2/synfig-osx/launcher/
H A Dquartz-audio.c60 UInt32 fadeLength; member
84 UInt32 fadeLength ) in QuartzAudioEnvelope() argument
86 double fadeFrames = min(fadeLength, totalFrames / 2); in QuartzAudioEnvelope()
123 for (frame = 0; frame < data->fadeLength; frame++) { in QuartzFillBuffer()
125 QuartzAudioEnvelope(frame+data->fadeLength, in QuartzFillBuffer()
126 2*data->fadeLength, in QuartzFillBuffer()
127 data->fadeLength) * in QuartzFillBuffer()
147 data->fadeLength) * in QuartzFillBuffer()
328 data.fadeLength = data.sampleRate / 200; in QuartzAudioInit()
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-osx/launcher/
H A Dquartz-audio.c60 UInt32 fadeLength; member
84 UInt32 fadeLength ) in QuartzAudioEnvelope() argument
86 double fadeFrames = min(fadeLength, totalFrames / 2); in QuartzAudioEnvelope()
123 for (frame = 0; frame < data->fadeLength; frame++) { in QuartzFillBuffer()
125 QuartzAudioEnvelope(frame+data->fadeLength, in QuartzFillBuffer()
126 2*data->fadeLength, in QuartzFillBuffer()
127 data->fadeLength) * in QuartzFillBuffer()
147 data->fadeLength) * in QuartzFillBuffer()
328 data.fadeLength = data.sampleRate / 200; in QuartzAudioInit()
/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/soundlib/
H A Dmodsmp_ctrl.cpp162 static void XFadeSampleImpl(const T *srcIn, const T *srcOut, T *output, const SmpLength fadeLength,… in XFadeSampleImpl() argument
164 const double length = 1.0 / static_cast<double>(fadeLength); in XFadeSampleImpl()
165 for(SmpLength i = 0; i < fadeLength; i++, srcIn++, srcOut++, output++) in XFadeSampleImpl()
168 double fact2 = std::pow((fadeLength - i) * length, e); in XFadeSampleImpl()
184 if(loopStart < fadeLength) return false; in XFadeSample()
186 const SmpLength start = (loopStart - fadeLength) * smp.GetNumChannels(); in XFadeSample()
187 const SmpLength end = (loopEnd - fadeLength) * smp.GetNumChannels(); in XFadeSample()
190 …const SmpLength afterLoopLength = std::min(smp.nLength - loopEnd, fadeLength) * smp.GetNumChannels… in XFadeSample()
191 fadeLength *= smp.GetNumChannels(); in XFadeSample()
198 …XFadeSampleImpl(smp.sample16() + start, smp.sample16() + end, smp.sample16() + end, fadeLength, e); in XFadeSample()
[all …]
/dports/multimedia/qmmp-qt5/qmmp-1.5.2/src/plugins/Input/gme/
H A Ddecoder_gme.cpp58 if(m_helper.fadeLength()) in initialize()
60 if(track_info->length < m_helper.fadeLength()) in initialize()
61 track_info->length += m_helper.fadeLength(); in initialize()
62 gme_set_fade(m_emu, track_info->length - m_helper.fadeLength()); in initialize()
/dports/games/stuntrally/stuntrally-2.6.1/source/paged-geom/
H A DPagedGeometry.h1382 farTransDist = farDist + fadeLength; in setFarRange()
1442 fadeLength = transitionLength; in setTransition()
1443 fadeLengthSq = fadeLength * fadeLength; in setTransition()
1447 fadeLength = 0; in setTransition()
1452 farTransDist = farDist + fadeLength; in setTransition()
1458 return fadeLength; in getTransition()
1499 Ogre::Real fadeLength, fadeLengthSq; variable
/dports/graphics/rigsofrods-pagedgeometry/ogre-pagedgeometry-1.2.0/include/
H A DPagedGeometry.h1382 farTransDist = farDist + fadeLength; in setFarRange()
1442 fadeLength = transitionLength; in setTransition()
1443 fadeLengthSq = fadeLength * fadeLength; in setTransition()
1447 fadeLength = 0; in setTransition()
1452 farTransDist = farDist + fadeLength; in setTransition()
1458 return fadeLength; in getTransition()
1499 Ogre::Real fadeLength, fadeLengthSq; variable
/dports/emulators/ppsspp-qt5/ppsspp-1.12.3/Common/Math/
H A Dcurves.cpp43 float ease(int t, int fadeLength) in ease() argument
46 if (t >= fadeLength) return 1.0f; in ease()
47 return ease((float)t / (float)fadeLength); in ease()
/dports/emulators/ppsspp/ppsspp-1.12.3/Common/Math/
H A Dcurves.cpp43 float ease(int t, int fadeLength) in ease() argument
46 if (t >= fadeLength) return 1.0f; in ease()
47 return ease((float)t / (float)fadeLength); in ease()
/dports/emulators/libretro-ppsspp/ppsspp-1.12.3/Common/Math/
H A Dcurves.cpp43 float ease(int t, int fadeLength) in ease() argument
46 if (t >= fadeLength) return 1.0f; in ease()
47 return ease((float)t / (float)fadeLength); in ease()
/dports/games/scummvm/scummvm-2.5.1/engines/buried/
H A Dsound.h52 bool adjustAmbientSoundVolume(byte newVolumeLevel, bool fade, byte steps, uint32 fadeLength);
57 …l adjustSecondaryAmbientSoundVolume(byte newVolumeLevel, bool fade, byte steps, uint32 fadeLength);
71 …oundEffectSoundVolume(int effectID, byte newVolumeLevel, bool fade, byte steps, uint32 fadeLength);
/dports/games/retroarch/RetroArch-1.9.7/deps/libShake/src/common/
H A Dpresets.c21 effect->u.periodic.envelope.fadeLength = 1000 * fadeSecs; in Shake_SimplePeriodic()
33 effect->u.constant.envelope.fadeLength = 1000 * fadeSecs; in Shake_SimpleConstant()
46 effect->u.ramp.envelope.fadeLength = 1000 * fadeSecs; in Shake_SimpleRamp()
/dports/devel/ois/ois/includes/
H A DOISEffect.h175 Envelope() : attackLength(0), attackLevel(0), fadeLength(0), fadeLevel(0) {} in Envelope()
180 bool isUsed() { return attackLength | attackLevel | fadeLength | fadeLevel; } in isUsed()
187 unsigned short fadeLength; variable
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/gmedecoder/
H A DGmeDecoder.cpp127 auto fadeLength = prefs->GetDouble( in Open() local
132 (int)((this->length - fadeLength) * 1000.0), in Open()
133 (int)(fadeLength * 1000.0)); in Open()
/dports/audio/surge-synthesizer-lv2/surge-release_1.9.0/src/common/dsp/effect/chowdsp/tape/
H A DLossFilter.cpp96 fadeCount = fadeLength; in process()
121 auto startGain = (float)fadeCount / (float)fadeLength; in process()
124 auto endGain = (float)fadeCount / (float)fadeLength; in process()
/dports/games/residualvm/residualvm-0.3.1/engines/grim/emi/costume/
H A Demianim_component.cpp118 void EMIAnimComponent::fade(Animation::FadeMode mode, int fadeLength) { in fade() argument
119 _animState->fade(mode, fadeLength); in fade()

123