Home
last modified time | relevance | path

Searched refs:volL (Results 1 – 25 of 65) sorted by relevance

123

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/sword1/
H A Dsound.h86 void setSpeechVol(uint8 volL, uint8 volR) { _speechVolL = volL; _speechVolR = volR; } in setSpeechVol() argument
87 void setSfxVol(uint8 volL, uint8 volR) { _sfxVolL = volL; _sfxVolR = volR; } in setSfxVol() argument
88 void giveSpeechVol(uint8 *volL, uint8 *volR) { *volL = _speechVolL; *volR = _speechVolR; } in giveSpeechVol() argument
89 void giveSfxVol(uint8 *volL, uint8 *volR) { *volL = _sfxVolL; *volR = _sfxVolR; } in giveSfxVol() argument
H A Dcontrol.cpp296 if (volL + volR == 0) { in volToBalance()
299 return (100 * volL / (volL + volR)); in volToBalance()
400 uint8 volL, volR; in runPanel() local
410 vol = (int)((volR + volL) / 2); in runPanel()
641 uint8 volL, volR; in setupVolumePanel() local
643 renderVolumeBar(1, volL, volR); in setupVolumePanel()
645 renderVolumeBar(2, volL, volR); in setupVolumePanel()
647 renderVolumeBar(3, volL, volR); in setupVolumePanel()
696 uint8 volL = 0, volR = 0; in changeVolume() local
726 _music->setVolume(volL, volR); in changeVolume()
[all …]
H A Dmusic.cpp248 void Music::setVolume(uint8 volL, uint8 volR) { in setVolume() argument
249 _volumeL = (Audio::st_volume_t)volL; in setVolume()
253 void Music::giveVolume(uint8 *volL, uint8 *volR) { in giveVolume() argument
254 *volL = (uint8)_volumeL; in giveVolume()
H A Dmusic.h65 void setVolume(uint8 volL, uint8 volR);
66 void giveVolume(uint8 *volL, uint8 *volR);
/dports/games/scummvm/scummvm-2.5.1/engines/sword1/
H A Dsound.h86 void setSpeechVol(uint8 volL, uint8 volR) { _speechVolL = volL; _speechVolR = volR; } in setSpeechVol() argument
87 void setSfxVol(uint8 volL, uint8 volR) { _sfxVolL = volL; _sfxVolR = volR; } in setSfxVol() argument
88 void giveSpeechVol(uint8 *volL, uint8 *volR) { *volL = _speechVolL; *volR = _speechVolR; } in giveSpeechVol() argument
89 void giveSfxVol(uint8 *volL, uint8 *volR) { *volL = _sfxVolL; *volR = _sfxVolR; } in giveSfxVol() argument
H A Dcontrol.cpp296 if (volL + volR == 0) { in volToBalance()
299 return (100 * volL / (volL + volR)); in volToBalance()
400 uint8 volL, volR; in runPanel() local
410 vol = (int)((volR + volL) / 2); in runPanel()
643 uint8 volL, volR; in setupVolumePanel() local
645 renderVolumeBar(1, volL, volR); in setupVolumePanel()
647 renderVolumeBar(2, volL, volR); in setupVolumePanel()
649 renderVolumeBar(3, volL, volR); in setupVolumePanel()
698 uint8 volL = 0, volR = 0; in changeVolume() local
728 _music->setVolume(volL, volR); in changeVolume()
[all …]
H A Dmusic.cpp253 void Music::setVolume(uint8 volL, uint8 volR) { in setVolume() argument
254 _volumeL = (Audio::st_volume_t)volL; in setVolume()
258 void Music::giveVolume(uint8 *volL, uint8 *volR) { in giveVolume() argument
259 *volL = (uint8)_volumeL; in giveVolume()
H A Dmusic.h65 void setVolume(uint8 volL, uint8 volR);
66 void giveVolume(uint8 *volL, uint8 *volR);
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/snd/
H A Dx1010.cpp63 INT32 ch, i, volL, volR, freq, mempos, div; in x1010_sound_update() local
78 volL = ((reg->volume >> 4) & 0xf) * VOL_BASE; in x1010_sound_update()
82 if (!volL) volL = volR; // dink aug.17,2016: fix missing samples in ms gundam in x1010_sound_update()
83 if (!volR) volR = volL; in x1010_sound_update()
94 reg->start, reg->end, ch, volL, volR, freq, smp_step, smp_offs); in x1010_sound_update()
116 nLeftSample += (INT32)((data * volL / 256) * x1_010_chip->gain[BURN_SND_X1010_ROUTE_1]); in x1010_sound_update()
119 nRightSample += (INT32)((data * volL / 256) * x1_010_chip->gain[BURN_SND_X1010_ROUTE_1]); in x1010_sound_update()
171 volL = ((vol >> 4) & 0xf) * VOL_BASE; in x1010_sound_update()
178 nLeftSample += (INT32)((data * volL / 256) * x1_010_chip->gain[BURN_SND_X1010_ROUTE_1]); in x1010_sound_update()
181 nRightSample += (INT32)((data * volL / 256) * x1_010_chip->gain[BURN_SND_X1010_ROUTE_1]); in x1010_sound_update()
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/snd/
H A Dx1010.cpp63 INT32 ch, i, volL, volR, freq, mempos, div; in x1010_sound_update() local
78 volL = ((reg->volume >> 4) & 0xf) * VOL_BASE; in x1010_sound_update()
82 if (!volL) volL = volR; // dink aug.17,2016: fix missing samples in ms gundam in x1010_sound_update()
83 if (!volR) volR = volL; in x1010_sound_update()
94 reg->start, reg->end, ch, volL, volR, freq, smp_step, smp_offs); in x1010_sound_update()
116 nLeftSample += (INT32)((data * volL / 256) * x1_010_chip->gain[BURN_SND_X1010_ROUTE_1]); in x1010_sound_update()
119 nRightSample += (INT32)((data * volL / 256) * x1_010_chip->gain[BURN_SND_X1010_ROUTE_1]); in x1010_sound_update()
171 volL = ((vol >> 4) & 0xf) * VOL_BASE; in x1010_sound_update()
178 nLeftSample += (INT32)((data * volL / 256) * x1_010_chip->gain[BURN_SND_X1010_ROUTE_1]); in x1010_sound_update()
181 nRightSample += (INT32)((data * volL / 256) * x1_010_chip->gain[BURN_SND_X1010_ROUTE_1]); in x1010_sound_update()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sound/
H A Dx1_010.c103 int ch, i, volL, volR, freq; in seta_sh_update() local
122 volL = ((reg->volume>>4)&0xf)*VOL_BASE; in seta_sh_update()
144 *bufL++ += (data*volL/256); in seta_sh_update()
174 volL = ((vol>>4)&0xf)*VOL_BASE; in seta_sh_update()
177 *bufL++ += (data*volL/256); in seta_sh_update()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sound/
H A Dx1_010.c103 int ch, i, volL, volR, freq; in seta_sh_update() local
122 volL = ((reg->volume>>4)&0xf)*VOL_BASE; in seta_sh_update()
144 *bufL++ += (data*volL/256); in seta_sh_update()
174 volL = ((vol>>4)&0xf)*VOL_BASE; in seta_sh_update()
177 *bufL++ += (data*volL/256); in seta_sh_update()
/dports/audio/deadbeef/deadbeef-0.7.2/plugins/gme/game-music-emu-0.6pre/vgmplay/VGMPlay/chips/
H A Dx1_010.c124 int ch, i, volL, volR, freq, div; in seta_update() local
144 volL = ((reg->volume>>4)&0xf)*VOL_BASE; in seta_update()
155 start, end, ch, volL, volR, freq, smp_step, smp_offs )); in seta_update()
165 *bufL++ += (data*volL/256); in seta_update()
193 volL = ((vol>>4)&0xf)*VOL_BASE; in seta_update()
196 *bufL++ += (data*volL/256); in seta_update()
/dports/audio/vgmplay/vgmplay-0.40.9_2/chips/
H A Dx1_010.c132 int ch, i, volL, volR, freq, div; in seta_update() local
152 volL = ((reg->volume>>4)&0xf)*VOL_BASE; in seta_update()
163 start, end, ch, volL, volR, freq, smp_step, smp_offs )); in seta_update()
173 *bufL++ += (data*volL/256); in seta_update()
201 volL = ((vol>>4)&0xf)*VOL_BASE; in seta_update()
204 *bufL++ += (data*volL/256); in seta_update()
/dports/audio/rkr-lv2/rkrlv2-beta_2-2-gd8c17d3/src/
H A DMBDist.C182 if(volL> 0) mbwshape1l->waveshapesmps (period, lowl, PtypeL, PdriveL, 1);
197 if(volL> 0) mbwshape1r->waveshapesmps (period, lowr, PtypeL, PdriveL, 1);
205 efxoutl[i]=lowl[i]*volL+midl[i]*volM+highl[i]*volH;
206 if (Pstereo) efxoutr[i]=lowr[i]*volL+midr[i]*volM+highr[i]*volH;
340 PdriveL = (int)((float)Pdrive*volL);
358 volL = (float) value /100.0;
359 PdriveL = (int)((float)Pdrive*volL);
/dports/emulators/mess/mame-mame0226/src/devices/sound/
H A Dx1_010.cpp230 const int volL = ((reg->volume >> 4) & 0xf) * VOL_BASE; in sound_stream_update() local
241 start, end, ch, volL, volR, freq, smp_step, smp_offs); in sound_stream_update()
253 bufL.add_int(i, data * volL, 32768 * 256); in sound_stream_update()
285 const int volL = ((vol >> 4) & 0xf) * VOL_BASE; in sound_stream_update() local
288 bufL.add_int(i, data * volL, 32768 * 256); in sound_stream_update()
/dports/emulators/mame/mame-mame0226/src/devices/sound/
H A Dx1_010.cpp230 const int volL = ((reg->volume >> 4) & 0xf) * VOL_BASE; in sound_stream_update() local
241 start, end, ch, volL, volR, freq, smp_step, smp_offs); in sound_stream_update()
253 bufL.add_int(i, data * volL, 32768 * 256); in sound_stream_update()
285 const int volL = ((vol >> 4) & 0xf) * VOL_BASE; in sound_stream_update() local
288 bufL.add_int(i, data * volL, 32768 * 256); in sound_stream_update()
/dports/audio/milkytracker/MilkyTracker-1.03.00/src/milkyplay/
H A DChannelMixer.cpp72 volL = (chn->vol*panLUT[256-pan]*masterVolume); in panToVol()
76 volL = volR = 0; in panToVol()
171 mp_sint32 volL, volR; in addChannelsRamping() local
172 mixer->panToVol(chn, volL, volR); in addChannelsRamping()
174 chn->rampFromVolStepL = (volL-chn->finalvoll)/beatl; in addChannelsRamping()
253 mp_sint32 volL, volR; in addChannelsRamping() local
254 mixer->panToVol(chn, volL, volR); in addChannelsRamping()
256 chn->rampFromVolStepL = volL/beatl; in addChannelsRamping()
278 mp_sint32 volL, volR; in addChannelsRamping() local
279 mixer->panToVol(chn, volL, volR); in addChannelsRamping()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_Ports.c612 float volL, volR; in getFakeBalance() local
615 volL = getRealVolume(portControl, SND_MIXER_SCHN_FRONT_LEFT); in getFakeBalance()
617 if (volL > volR) { in getFakeBalance()
618 return -1.0f + (volR / volL); in getFakeBalance()
620 else if (volR > volL) { in getFakeBalance()
621 return 1.0f - (volL / volR); in getFakeBalance()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_Ports.c612 float volL, volR; in getFakeBalance() local
615 volL = getRealVolume(portControl, SND_MIXER_SCHN_FRONT_LEFT); in getFakeBalance()
617 if (volL > volR) { in getFakeBalance()
618 return -1.0f + (volR / volL); in getFakeBalance()
620 else if (volR > volL) { in getFakeBalance()
621 return 1.0f - (volL / volR); in getFakeBalance()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_Ports.c612 float volL, volR; in getFakeBalance() local
615 volL = getRealVolume(portControl, SND_MIXER_SCHN_FRONT_LEFT); in getFakeBalance()
617 if (volL > volR) { in getFakeBalance()
618 return -1.0f + (volR / volL); in getFakeBalance()
620 else if (volR > volL) { in getFakeBalance()
621 return 1.0f - (volL / volR); in getFakeBalance()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_Ports.c612 float volL, volR; in getFakeBalance() local
615 volL = getRealVolume(portControl, SND_MIXER_SCHN_FRONT_LEFT); in getFakeBalance()
617 if (volL > volR) { in getFakeBalance()
618 return -1.0f + (volR / volL); in getFakeBalance()
620 else if (volR > volL) { in getFakeBalance()
621 return 1.0f - (volL / volR); in getFakeBalance()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/linux/native/libjsound/
H A DPLATFORM_API_LinuxOS_ALSA_Ports.c612 float volL, volR; in getFakeBalance() local
615 volL = getRealVolume(portControl, SND_MIXER_SCHN_FRONT_LEFT); in getFakeBalance()
617 if (volL > volR) { in getFakeBalance()
618 return -1.0f + (volR / volL); in getFakeBalance()
620 else if (volR > volL) { in getFakeBalance()
621 return 1.0f - (volL / volR); in getFakeBalance()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.desktop/bsd/native/libjsound/
H A DPLATFORM_API_BsdOS_ALSA_Ports.c612 float volL, volR; in getFakeBalance() local
615 volL = getRealVolume(portControl, SND_MIXER_SCHN_FRONT_LEFT); in getFakeBalance()
617 if (volL > volR) { in getFakeBalance()
618 return -1.0f + (volR / volL); in getFakeBalance()
620 else if (volR > volL) { in getFakeBalance()
621 return 1.0f - (volL / volR); in getFakeBalance()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/solaris/native/com/sun/media/sound/
H A DPLATFORM_API_LinuxOS_ALSA_Ports.c611 float volL, volR; in getFakeBalance() local
614 volL = getRealVolume(portControl, SND_MIXER_SCHN_FRONT_LEFT); in getFakeBalance()
616 if (volL > volR) { in getFakeBalance()
617 return -1.0f + (volR / volL); in getFakeBalance()
619 else if (volR > volL) { in getFakeBalance()
620 return 1.0f - (volL / volR); in getFakeBalance()

123