/dports/games/libretro-bluemsx/blueMSX-libretro-faf470e/Src/SoundChips/ |
H A D | AudioMixer.c | 305 if (newVol < 0) newVol = 0; in updateVolumes() 306 mixer->volIntLeft = newVol; in updateVolumes() 308 newVol = mixer->volIntRight - diff; in updateVolumes() 309 if (newVol < 0) newVol = 0; in updateVolumes() 310 mixer->volIntRight = newVol; in updateVolumes() 314 if (newVol < 0) newVol = 0; in updateVolumes() 318 if (newVol < 0) newVol = 0; in updateVolumes() 328 if (newVol < 0) newVol = 0; in updateVolumes() 329 mixer->midi.volIntLeft = newVol; in updateVolumes() 332 if (newVol < 0) newVol = 0; in updateVolumes() [all …]
|
/dports/games/libretro-gambatte/gambatte-libretro-22abc24/libgambatte/src/sound/ |
H A D | envelope_unit.cpp | 52 unsigned newVol = volume_; in event() local 54 ++newVol; in event() 56 --newVol; in event() 58 if (newVol < 0x10U) { in event() 59 volume_ = newVol; in event()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/pet_control/ |
H A D | pet_sound.cpp | 135 uint newVol = (uint)(offset * 255.0); in sliderChanged() local 142 ConfMan.setInt("music_volume", newVol); in sliderChanged() 143 ConfMan.setInt("sfx_volume", newVol); in sliderChanged() 144 ConfMan.setInt("speech_volume", newVol); in sliderChanged() 146 _musicVolume.setSliderOffset(newVol * 0.01); in sliderChanged() 147 _parrotVolume.setSliderOffset(newVol * 0.01); in sliderChanged() 148 _speechVolume.setSliderOffset(newVol * 0.01); in sliderChanged() 152 ConfMan.setInt("music_volume", newVol); in sliderChanged() 156 ConfMan.setInt("sfx_volume", newVol); in sliderChanged() 160 ConfMan.setInt("speech_volume", newVol); in sliderChanged()
|
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/pet_control/ |
H A D | pet_sound.cpp | 135 uint newVol = (uint)(offset * 255.0); in sliderChanged() local 142 ConfMan.setInt("music_volume", newVol); in sliderChanged() 143 ConfMan.setInt("sfx_volume", newVol); in sliderChanged() 144 ConfMan.setInt("speech_volume", newVol); in sliderChanged() 146 _musicVolume.setSliderOffset(newVol * 0.01); in sliderChanged() 147 _parrotVolume.setSliderOffset(newVol * 0.01); in sliderChanged() 148 _speechVolume.setSliderOffset(newVol * 0.01); in sliderChanged() 152 ConfMan.setInt("music_volume", newVol); in sliderChanged() 156 ConfMan.setInt("sfx_volume", newVol); in sliderChanged() 160 ConfMan.setInt("speech_volume", newVol); in sliderChanged()
|
/dports/audio/ft2play/ft2play-5730b16/ |
H A D | pmp_main.c | 607 newVol = 0; in v_SlideDown() 616 if (newVol > 64) in v_SlideUp() 617 newVol = 64; in v_SlideUp() 1536 newVol -= param; in volume() 1538 newVol = 0; in volume() 1544 newVol += param; in volume() 1545 if (newVol > 64) in volume() 1546 newVol = 64; in volume() 1563 newVol -= param; in globalVolSlide() 1565 newVol = 0; in globalVolSlide() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sky/music/ |
H A D | gmchannel.cpp | 58 uint8 newVol = (_currentChannelVolume * _musicVolume) >> 7; in updateVolume() local 59 _midiDrv->send((0xB0 | _channelData.midiChannelNumber) | 0x700 | (newVol << 16)); in updateVolume() 169 uint8 newVol = (uint8)((_currentChannelVolume * _musicVolume) >> 7); in com90_getChannelVolume() local 170 _midiDrv->send((0xB0 | _channelData.midiChannelNumber) | 0x700 | (newVol << 16)); in com90_getChannelVolume()
|
/dports/games/scummvm/scummvm-2.5.1/engines/sky/music/ |
H A D | gmchannel.cpp | 58 uint8 newVol = (_currentChannelVolume * _musicVolume) >> 7; in updateVolume() local 59 _midiDrv->send((0xB0 | _channelData.midiChannelNumber) | 0x700 | (newVol << 16)); in updateVolume() 169 uint8 newVol = (uint8)((_currentChannelVolume * _musicVolume) >> 7); in com90_getChannelVolume() local 170 _midiDrv->send((0xB0 | _channelData.midiChannelNumber) | 0x700 | (newVol << 16)); in com90_getChannelVolume()
|
/dports/audio/tiatracker/tiatracker-1.3/track/ |
H A D | percussion.cpp | 209 int newVol = int((volAfter + volBefore)/2); in insertFrameBefore() local 214 volumes.insert(frame, newVol); in insertFrameBefore() 237 int newVol = int((volAfter + volBefore)/2); in insertFrameAfter() local 241 volumes.insert(frame + 1, newVol); in insertFrameAfter()
|
H A D | instrument.cpp | 257 int newVol = int((volAfter + volBefore)/2); in insertFrameBefore() local 261 volumes.insert(frame, newVol); in insertFrameBefore() 285 int newVol = int((volAfter + volBefore)/2); in insertFrameAfter() local 288 volumes.insert(frame + 1, newVol); in insertFrameAfter()
|
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/controller/volume/persistentvolume/ |
H A D | pv_controller.go | 872 return newVol, err 874 _, err = ctrl.storeVolumeUpdate(newVol) 877 return newVol, err 880 return newVol, err 904 return newVol, nil 934 return newVol, err 937 _, err = ctrl.storeVolumeUpdate(newVol) 940 return newVol, err 944 return newVol, nil 1075 _, err = ctrl.storeVolumeUpdate(newVol) [all …]
|
/dports/audio/fasttracker2/ft2-clone-1.49/src/ |
H A D | ft2_replayer.c | 1011 newVol = 0; in v_SlideDown() 1020 if (newVol > 64) in v_SlideUp() 1021 newVol = 64; in v_SlideUp() 1935 newVol -= param; in volume() 1937 newVol = 0; in volume() 1943 newVol += param; in volume() 1944 if (newVol > 64) in volume() 1945 newVol = 64; in volume() 1962 newVol -= param; in globalVolSlide() 1964 newVol = 0; in globalVolSlide() [all …]
|
/dports/finance/quantlib/QuantLib-1.20/test-suite/ |
H A D | swaptionvolatilitymatrix.cpp | 84 Volatility newVol = vol->volatility( in makeObservabilityTest() local 88 if (referenceDateFloating && (initialVol == newVol)) in makeObservabilityTest() 91 if (!referenceDateFloating && (initialVol != newVol)) in makeObservabilityTest() 100 newVol = vol->volatility( in makeObservabilityTest() 106 if (initialVol == newVol) in makeObservabilityTest()
|
/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/sounddsp/ |
H A D | AGC.cpp | 114 void CAGC::Adjust(UINT oldVol, UINT newVol) in Adjust() argument 116 m_nAGC = m_nAGC * oldVol / newVol; in Adjust()
|
H A D | AGC.h | 32 void Adjust(UINT oldVol, UINT newVol);
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/scripting/api/objs/ |
H A D | sound.cpp | 195 float newVol = -1.0f; variable 196 if(!ade_get_args(L, "of", l_Sound.GetPtr(&sh), &newVol)) 202 CAP(newVol, 0.0f, 1.0f); 204 snd_set_volume(sh->getSignature(), newVol);
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Transactions.Local/tests/ |
H A D | TestEnlistments.cs | 120 … TestEnlistment newVol = new TestEnlistment(_phase1Vote, _expectedOutcome); in Prepare() 123 _txToEnlist.EnlistVolatile(newVol, EnlistmentOptions.None); in Prepare()
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/ |
H A D | sound.cpp | 165 uint newVol = volume * 255 / 0x10000; in setVolume() local 166 g_vm->_mixer->setChannelVolume(_handle, newVol); in setVolume()
|
/dports/audio/invada-studio-plugins-lv2/invada-studio-plugins-lv2-1.2.0/plugin/ |
H A D | inv_delay.c | 312 float oldVol,newVol; in runMonoIDelay() local 452 newVol=1.0; in runMonoIDelay() 494 newVol = (float)lSampleIndex/(float)SampleCount; // 0 -> 1 in runMonoIDelay() 561 SpaceAdd(SpaceLCur, SpaceLEnd, SpaceSize, l1DelaySample, f1DelayOffset, newVol*Degrain1); in runMonoIDelay() 569 SpaceAdd(SpaceRCur, SpaceREnd, SpaceSize, l2DelaySample, f2DelayOffset, newVol*Degrain2); in runMonoIDelay() 703 float oldVol,newVol; in runSumIDelay() local 844 newVol=1.0; in runSumIDelay() 887 newVol = (float)lSampleIndex/(float)SampleCount; // 0 -> 1 in runSumIDelay() 953 SpaceAdd(SpaceLCur, SpaceLEnd, SpaceSize, l1DelaySample, f1DelayOffset, newVol*Degrain1); in runSumIDelay() 961 SpaceAdd(SpaceRCur, SpaceREnd, SpaceSize, l2DelaySample, f2DelayOffset, newVol*Degrain2); in runSumIDelay()
|
/dports/games/scummvm/scummvm-2.5.1/engines/glk/ |
H A D | sound.cpp | 168 uint newVol = volume * 255 / GLK_MAXVOLUME; in setVolume() local 169 g_vm->_mixer->setChannelVolume(_handle, newVol); in setVolume()
|
/dports/devel/sdl12/SDL-1.2.15/src/audio/symbian/ |
H A D | streamplayer.cpp | 172 const TReal newVol = iVolume; in Request() local 176 const TReal newvolume = (newVol * max) / newMax; in Request()
|
/dports/science/dakota/dakota-6.13.0-release-public.src-UI/packages/external/JEGA/MOGA/src/Convergers/ |
H A D | MOGAConverger.cpp | 296 const double newVol = ComputeVolume(newPopExtremes); in GetDensityChange() local 300 << newVol << '.' in GetDensityChange() 305 const double newDen = newPop.size() / newVol; in GetDensityChange()
|
/dports/audio/libopenmpt/libopenmpt-0.6.0+release.autotools/soundlib/ |
H A D | pattern.cpp | 403 ModCommand::VOL newVol = settings.m_param; in WriteEffect() local 411 newVol /= 2u; in WriteEffect() 416 if(!ModCommand::ConvertVolEffect(newVolCmd, newVol, true)) in WriteEffect() 426 settings.m_vol = newVol; in WriteEffect()
|
/dports/audio/juk/juk-21.12.3/mpris2/ |
H A D | mediaplayer2player.cpp | 329 void MediaPlayer2Player::volumeChanged(float newVol) const in volumeChanged() 331 Q_UNUSED(newVol) in volumeChanged()
|
H A D | mediaplayer2player.h | 104 void volumeChanged(float newVol) const;
|
/dports/math/gismo/gismo-21.12.0/src/gsModeling/ |
H A D | gsSolid.hpp | 494 gsVolumeHandle newVol = new gsVolumeBlock<T>; in newVolume() local 495 volume.push_back(newVol); in newVolume() 496 newVol->setId(numVolumes++); in newVolume() 511 nextFace->vol = newVol; in newVolume() 512 newVol->face.push_back(nextFace); in newVolume() 552 return newVol; in newVolume()
|