/dports/audio/cam/cam-1.02/ |
H A D | sounds.c | 43 int vol_left, vol_right; member 135 int ii, vol_left, vol_right,dummy,pos; in set_sound() local 162 adjust(ii,vol_left, vol_right); in set_sound() 178 adjust(ii,vol_left, vol_right); in set_sound() 202 vol_left = -1; in set_sound() 229 vol_left = -1; in set_sound() 312 int vol_left, vol_right; in ctrl_sliders() local 325 volume = &dev_vol[dev_nr].vol_left; in ctrl_sliders() 546 vol_left = -1; in ctrl_sliders() 575 dev_vol[dev_nr_tmp].vol_left = vol_left; in ctrl_sliders() [all …]
|
/dports/emulators/mess/mame-mame0226/src/mame/audio/ |
H A D | wswan.cpp | 87 save_item(NAME(m_audio1.vol_left)); in device_start() 96 save_item(NAME(m_audio2.vol_left)); in device_start() 105 save_item(NAME(m_audio3.vol_left)); in device_start() 114 save_item(NAME(m_audio4.vol_left)); in device_start() 189 left += m_audio1.vol_left * sample; in sound_stream_update() 210 left += m_audio2.vol_left * sample; in sound_stream_update() 235 left += m_audio3.vol_left * sample; in sound_stream_update() 267 left += m_audio4.vol_left * sample; in sound_stream_update() 323 m_audio1.vol_left = ( data & 0xF0 ) >> 4; in port_w() 328 m_audio2.vol_left = ( data & 0xF0 ) >> 4; in port_w() [all …]
|
H A D | wswan.h | 38 vol_left(0), in CHAN() 47 uint8_t vol_left; /* volume left */ member
|
/dports/emulators/mame/mame-mame0226/src/mame/audio/ |
H A D | wswan.cpp | 87 save_item(NAME(m_audio1.vol_left)); in device_start() 96 save_item(NAME(m_audio2.vol_left)); in device_start() 105 save_item(NAME(m_audio3.vol_left)); in device_start() 114 save_item(NAME(m_audio4.vol_left)); in device_start() 189 left += m_audio1.vol_left * sample; in sound_stream_update() 210 left += m_audio2.vol_left * sample; in sound_stream_update() 235 left += m_audio3.vol_left * sample; in sound_stream_update() 267 left += m_audio4.vol_left * sample; in sound_stream_update() 323 m_audio1.vol_left = ( data & 0xF0 ) >> 4; in port_w() 328 m_audio2.vol_left = ( data & 0xF0 ) >> 4; in port_w() [all …]
|
H A D | wswan.h | 38 vol_left(0), in CHAN() 47 uint8_t vol_left; /* volume left */ member
|
/dports/audio/xmcd/xmcd-3.3.2/cdda_d/ |
H A D | wr_sol.c | 141 if (vol_left == 100 && vol_right == 100) { in solaud_scale_bal() 149 else if (vol_left < 100) { in solaud_scale_bal() 150 ret = ((vol_left * SOL_M_BAL) / 100) + in solaud_scale_bal() 184 *vol_left = 100; in solaud_unscale_bal() 188 *vol_left = 100; in solaud_unscale_bal() 195 *vol_left = (bal * 100) / SOL_M_BAL; in solaud_unscale_bal() 198 (*vol_left)++; in solaud_unscale_bal() 202 if (*vol_left < 0) in solaud_unscale_bal() 203 *vol_left = 0; in solaud_unscale_bal() 204 else if (*vol_left > 100) in solaud_unscale_bal() [all …]
|
H A D | wr_irix.c | 225 irix_wcd->i->vol_left = irix_wcd->i->vol_right = 100; in irixaud_gethw_vol() 231 irix_wcd->i->vol_left = 100; in irixaud_gethw_vol() 242 irix_wcd->i->vol_left = (int) in irixaud_gethw_vol() 255 irix_wcd->i->vol_left, in irixaud_gethw_vol() 283 irix_wcd->i->vol_left, in irixaud_sethw_vol() 313 irix_wcd->i->vol_left, in irixaud_sethw_vol() 655 if (irix_wcd->i->vol_left == irix_wcd->i->vol_right) { in irixaud_update() 659 else if (irix_wcd->i->vol_left > irix_wcd->i->vol_right) { in irixaud_update() 667 val = (irix_wcd->i->vol * irix_wcd->i->vol_left) / 100; in irixaud_update() 668 if (((irix_wcd->i->vol * irix_wcd->i->vol_left) % 100) >= 50) in irixaud_update()
|
H A D | wr_hpux.c | 244 hpux_wcd->i->vol_left = 100; 249 hpux_wcd->i->vol_left = 100; 258 hpux_wcd->i->vol_left = (vol0 * 100) / vol1; 261 hpux_wcd->i->vol_left++; 430 if (hpux_wcd->i->vol_left == hpux_wcd->i->vol_right) { 436 else if (hpux_wcd->i->vol_left > hpux_wcd->i->vol_right) { 446 val = (hpux_wcd->i->vol * hpux_wcd->i->vol_left) / 100; 447 if (((hpux_wcd->i->vol * hpux_wcd->i->vol_left) % 100) >= 50)
|
H A D | wr_oss.c | 114 oss_wcd->i->vol_left = 100; in ossaud_gethw_vol() 119 oss_wcd->i->vol_left = 100; in ossaud_gethw_vol() 128 oss_wcd->i->vol_left = (vol0 * 100) / vol1; in ossaud_gethw_vol() 131 oss_wcd->i->vol_left++; in ossaud_gethw_vol() 507 if (oss_wcd->i->vol_left == oss_wcd->i->vol_right) { in ossaud_update() 511 else if (oss_wcd->i->vol_left > oss_wcd->i->vol_right) { in ossaud_update() 519 val = (oss_wcd->i->vol * oss_wcd->i->vol_left) / 100; in ossaud_update() 520 if (((oss_wcd->i->vol * oss_wcd->i->vol_left) % 100) >= 50) in ossaud_update()
|
H A D | wr_osf1.c | 223 osf1_wcd->i->vol_left = 100; in osf1aud_gethw_vol() 228 osf1_wcd->i->vol_left = 100; in osf1aud_gethw_vol() 238 osf1_wcd->i->vol_left = in osf1aud_gethw_vol() 242 osf1_wcd->i->vol_left++; in osf1aud_gethw_vol() 588 if (osf1_wcd->i->vol_left == osf1_wcd->i->vol_right) { in osf1aud_update() 592 else if (osf1_wcd->i->vol_left > osf1_wcd->i->vol_right) { in osf1aud_update() 600 val = (osf1_wcd->i->vol * osf1_wcd->i->vol_left) / 100; in osf1aud_update() 601 if (((osf1_wcd->i->vol * osf1_wcd->i->vol_left) % 100) >= 50) in osf1aud_update()
|
H A D | wr_alsa.c | 181 alsa_wcd->i->vol_left = 100; in alsaaud_gethw_vol() 186 alsa_wcd->i->vol_left = 100; in alsaaud_gethw_vol() 196 alsa_wcd->i->vol_left = in alsaaud_gethw_vol() 200 alsa_wcd->i->vol_left++; in alsaaud_gethw_vol() 902 if (alsa_wcd->i->vol_left == alsa_wcd->i->vol_right) { in alsaaud_update() 908 else if (alsa_wcd->i->vol_left > alsa_wcd->i->vol_right) { in alsaaud_update() 918 val = (alsa_wcd->i->vol * alsa_wcd->i->vol_left) / 100; in alsaaud_update() 919 if (((alsa_wcd->i->vol * alsa_wcd->i->vol_left) % 100) >= 50) in alsaaud_update()
|
H A D | pthr.c | 389 cd->i->vol_left = 100; in cdda_pthr_initshm() 1105 s->level_left = (byte_t) cd->i->vol_left; in cdda_pthr_vol() 1112 cd->i->vol_left = (int) s->level_left; in cdda_pthr_vol() 1262 sp->level_left = (byte_t) cd->i->vol_left; in cdda_pthr_getstatus()
|
H A D | sysvipc.c | 612 cd->i->vol_left = 100; 1220 s->level_left = (byte_t) cd->i->vol_left; 1227 cd->i->vol_left = (int) s->level_left; 1377 sp->level_left = (byte_t) cd->i->vol_left;
|
/dports/multimedia/audacious-plugins/audacious-plugins-4.1/src/sdlout/ |
H A D | sdlout.cc | 83 static volatile int vol_left, vol_right; variable 98 vol_left = aud_get_int ("sdlout", "vol_left"); in init() 117 return {vol_left, vol_right}; in get_volume() 122 vol_left = v.left; in set_volume() 131 int vol = aud::max (vol_left, vol_right); in apply_mono_volume() 147 int factor_left = (vol_left == 0) ? 0 : powf (10, (float) VOLUME_RANGE * in apply_stereo_volume() 148 (vol_left - 100) / 100 / 20) * 65536; in apply_stereo_volume()
|
/dports/audio/cmus/cmus-2.9.1/ |
H A D | server.c | 87 int vol_left, vol_right; in cmd_status() local 129 vol_left = soft_vol_l; in cmd_status() 132 vol_left = vol_right = -1; in cmd_status() 134 vol_left = scale_to_percentage(volume_l, volume_max); in cmd_status() 139 gbuf_addf(&buf, "set vol_left %d\n", vol_left); in cmd_status()
|
H A D | ui_curses.c | 671 int buffer_fill, vol, vol_left, vol_right; in get_global_fopts() local 685 vol_left = vol_right = vol = -1; in get_global_fopts() 687 vol_left = soft_vol_l; in get_global_fopts() 689 vol = (vol_left + vol_right + 1) / 2; in get_global_fopts() 691 vol_left = scale_to_percentage(volume_l, volume_max); in get_global_fopts() 693 vol = (vol_left + vol_right + 1) / 2; in get_global_fopts() 708 fopt_set_int(&track_fopts[TF_LVOLUME], vol_left, vol_left < 0); in get_global_fopts()
|
H A D | mpris.c | 276 int vol_left = scale_to_percentage(volume_l, volume_max); in mpris_volume() local 278 vol = (vol_left + vol_right) / 200.0; in mpris_volume()
|
/dports/multimedia/audacious-plugins/audacious-plugins-4.1/src/coreaudio/ |
H A D | coreaudio.cc | 135 static int vol_left = 0, vol_right = 0; variable 189 vol_left = aud_get_int ("coreaudio", "vol_left"); in init() 349 return {vol_left, vol_right}; in get_volume() 357 vol_left = vol.left; in set_volume() 360 vol_max = aud::max (vol_left, vol_right); in set_volume() 362 aud_set_int ("coreaudio", "vol_left", vol_left); in set_volume()
|
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sndhrdw/ |
H A D | snes_sndhrdw.c | 20 INT8 vol_left; member 38 INT8 vol_left; member 111 snes_dsp.voice[ii].vol_left = 0; in snes_sh_start() 179 snes_dsp.voice[(offset & 0xf0) >> 4].vol_left = data; in WRITE_HANDLER() 272 snes_dsp.vol_left = data; in WRITE_HANDLER()
|
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sndhrdw/ |
H A D | snes_sndhrdw.c | 20 INT8 vol_left; member 38 INT8 vol_left; member 111 snes_dsp.voice[ii].vol_left = 0; in snes_sh_start() 179 snes_dsp.voice[(offset & 0xf0) >> 4].vol_left = data; in WRITE_HANDLER() 272 snes_dsp.vol_left = data; in WRITE_HANDLER()
|
/dports/audio/xmixer/xmixer/ |
H A D | gui_gtk.c | 85 int vol_left, vol_right = 0; 88 vol_left = mixer_get_vol_left (1, m->dev); 91 sprintf (buff, "%3d:%3d", vol_left, vol_right); 93 sprintf (buff, "%3d ", vol_left); 508 double vol_left, vol_right; 570 vol_left = vol_right = 100 - mixer_get_vol_left (1, i); 571 adj = gtk_adjustment_new (vol_left, 0.0, 101.0, 1.0, 10.0, 1.0); 598 if (vol_left == vol_right) {
|
H A D | gui_xaw.c | 268 int vol_left, vol_right = 0; in update_label() local 271 vol_left = mixer_get_vol_left (1, m->dev); in update_label() 274 sprintf (buff, "%3d:%3d", vol_left, vol_right); in update_label() 276 sprintf (buff, "%3d ", vol_left); in update_label()
|
/dports/net/rdesktop/rdesktop-1.9.0/ |
H A D | rdpsnd.c | 298 uint16 vol_left, vol_right; in rdpsnd_process_packet() local 373 in_uint16_le(s, vol_left); in rdpsnd_process_packet() 377 (unsigned) vol_left, (unsigned) vol_left / 655, (unsigned) vol_right, in rdpsnd_process_packet() 380 current_driver->wave_out_volume(vol_left, vol_right); in rdpsnd_process_packet()
|
/dports/games/pioneer/pioneer-20210723/src/sound/ |
H A D | Sound.h | 50 bool SetVolume(const float vol_left, const float vol_right);
|
H A D | Sound.cpp | 743 bool Event::SetVolume(const float vol_left, const float vol_right) in SetVolume() argument 749 wavstream[i].volume[0] = vol_left; in SetVolume() 751 wavstream[i].targetVolume[0] = vol_left; in SetVolume()
|