Home
last modified time | relevance | path

Searched refs:vol_right (Results 1 – 25 of 38) sorted by relevance

12

/dports/audio/cam/cam-1.02/
H A Dsounds.c43 int vol_left, vol_right; member
162 adjust(ii,vol_left, vol_right); in set_sound()
178 adjust(ii,vol_left, vol_right); in set_sound()
200 vol_right = -1; in set_sound()
203 vol_right = -1; in set_sound()
230 vol_right = -1; in set_sound()
312 int vol_left, vol_right; in ctrl_sliders() local
347 dev_vol[dev_nr].vol_right--; in ctrl_sliders()
544 vol_right = -1; in ctrl_sliders()
547 vol_right = -1; in ctrl_sliders()
[all …]
/dports/emulators/mess/mame-mame0226/src/mame/audio/
H A Dwswan.cpp88 save_item(NAME(m_audio1.vol_right)); in device_start()
97 save_item(NAME(m_audio2.vol_right)); in device_start()
106 save_item(NAME(m_audio3.vol_right)); in device_start()
115 save_item(NAME(m_audio4.vol_right)); in device_start()
190 right += m_audio1.vol_right * sample; in sound_stream_update()
236 right += m_audio3.vol_right * sample; in sound_stream_update()
268 right += m_audio4.vol_right * sample; in sound_stream_update()
324 m_audio1.vol_right = data & 0x0F; in port_w()
329 m_audio2.vol_right = data & 0x0F; in port_w()
334 m_audio3.vol_right = data & 0x0F; in port_w()
[all …]
H A Dwswan.h39 vol_right(0), in CHAN()
48 uint8_t vol_right; /* volume right */ member
/dports/emulators/mame/mame-mame0226/src/mame/audio/
H A Dwswan.cpp88 save_item(NAME(m_audio1.vol_right)); in device_start()
97 save_item(NAME(m_audio2.vol_right)); in device_start()
106 save_item(NAME(m_audio3.vol_right)); in device_start()
115 save_item(NAME(m_audio4.vol_right)); in device_start()
190 right += m_audio1.vol_right * sample; in sound_stream_update()
236 right += m_audio3.vol_right * sample; in sound_stream_update()
268 right += m_audio4.vol_right * sample; in sound_stream_update()
324 m_audio1.vol_right = data & 0x0F; in port_w()
329 m_audio2.vol_right = data & 0x0F; in port_w()
334 m_audio3.vol_right = data & 0x0F; in port_w()
[all …]
H A Dwswan.h39 vol_right(0), in CHAN()
48 uint8_t vol_right; /* volume right */ member
/dports/audio/xmcd/xmcd-3.3.2/cdda_d/
H A Dwr_sol.c141 if (vol_left == 100 && vol_right == 100) { in solaud_scale_bal()
144 else if (vol_right < 100) { in solaud_scale_bal()
145 ret = (vol_right * SOL_M_BAL) / 100; in solaud_scale_bal()
185 *vol_right = 100; in solaud_unscale_bal()
189 *vol_right = (bal * 100) / SOL_M_BAL; in solaud_unscale_bal()
191 (*vol_right)++; in solaud_unscale_bal()
196 *vol_right = 100; in solaud_unscale_bal()
207 if (*vol_right < 0) in solaud_unscale_bal()
208 *vol_right = 0; in solaud_unscale_bal()
209 else if (*vol_right > 100) in solaud_unscale_bal()
[all …]
H A Dwr_irix.c225 irix_wcd->i->vol_left = irix_wcd->i->vol_right = 100; in irixaud_gethw_vol()
233 irix_wcd->i->vol_right = (int) in irixaud_gethw_vol()
245 irix_wcd->i->vol_right = 100; in irixaud_gethw_vol()
256 irix_wcd->i->vol_right, in irixaud_gethw_vol()
284 irix_wcd->i->vol_right, in irixaud_sethw_vol()
314 irix_wcd->i->vol_right, 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()
660 val = (irix_wcd->i->vol * irix_wcd->i->vol_right) / 100; in irixaud_update()
661 if (((irix_wcd->i->vol * irix_wcd->i->vol_right) % 100) >= 50) in irixaud_update()
H A Dwr_hpux.c245 hpux_wcd->i->vol_right = 100;
250 hpux_wcd->i->vol_right = (vol1 * 100) / vol0;
253 hpux_wcd->i->vol_right++;
257 hpux_wcd->i->vol_right = 100;
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) {
437 val = (hpux_wcd->i->vol * hpux_wcd->i->vol_right) / 100;
438 if (((hpux_wcd->i->vol * hpux_wcd->i->vol_right) % 100) >= 50)
H A Dwr_oss.c115 oss_wcd->i->vol_right = 100; in ossaud_gethw_vol()
120 oss_wcd->i->vol_right = (vol1 * 100) / vol0; in ossaud_gethw_vol()
123 oss_wcd->i->vol_right++; in ossaud_gethw_vol()
127 oss_wcd->i->vol_right = 100; 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()
512 val = (oss_wcd->i->vol * oss_wcd->i->vol_right) / 100; in ossaud_update()
513 if (((oss_wcd->i->vol * oss_wcd->i->vol_right) % 100) >= 50) in ossaud_update()
H A Dwr_osf1.c224 osf1_wcd->i->vol_right = 100; in osf1aud_gethw_vol()
229 osf1_wcd->i->vol_right = in osf1aud_gethw_vol()
233 osf1_wcd->i->vol_right++; in osf1aud_gethw_vol()
237 osf1_wcd->i->vol_right = 100; 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()
593 val = (osf1_wcd->i->vol * osf1_wcd->i->vol_right) / 100; in osf1aud_update()
594 if (((osf1_wcd->i->vol * osf1_wcd->i->vol_right) % 100) >= 50) in osf1aud_update()
H A Dwr_alsa.c182 alsa_wcd->i->vol_right = 100; in alsaaud_gethw_vol()
187 alsa_wcd->i->vol_right = in alsaaud_gethw_vol()
191 alsa_wcd->i->vol_right++; in alsaaud_gethw_vol()
195 alsa_wcd->i->vol_right = 100; 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()
909 val = (alsa_wcd->i->vol * alsa_wcd->i->vol_right) / 100; in alsaaud_update()
910 if (((alsa_wcd->i->vol * alsa_wcd->i->vol_right) % 100) >= 50) in alsaaud_update()
H A Dpthr.c390 cd->i->vol_right = 100; in cdda_pthr_initshm()
1106 s->level_right = (byte_t) cd->i->vol_right; in cdda_pthr_vol()
1113 cd->i->vol_right = (int) s->level_right; in cdda_pthr_vol()
1263 sp->level_right = (byte_t) cd->i->vol_right; in cdda_pthr_getstatus()
H A Dsysvipc.c613 cd->i->vol_right = 100;
1221 s->level_right = (byte_t) cd->i->vol_right;
1228 cd->i->vol_right = (int) s->level_right;
1378 sp->level_right = (byte_t) cd->i->vol_right;
/dports/multimedia/audacious-plugins/audacious-plugins-4.1/src/sdlout/
H A Dsdlout.cc83 static volatile int vol_left, vol_right; variable
99 vol_right = aud_get_int ("sdlout", "vol_right"); in init()
117 return {vol_left, vol_right}; in get_volume()
123 vol_right = v.right; in set_volume()
131 int vol = aud::max (vol_left, vol_right); in apply_mono_volume()
149 int factor_right = (vol_right == 0) ? 0 : powf (10, (float) VOLUME_RANGE * in apply_stereo_volume()
150 (vol_right - 100) / 100 / 20) * 65536; in apply_stereo_volume()
/dports/audio/cmus/cmus-2.9.1/
H A Dserver.c87 int vol_left, vol_right; in cmd_status() local
130 vol_right = soft_vol_r; in cmd_status()
132 vol_left = vol_right = -1; in cmd_status()
135 vol_right = scale_to_percentage(volume_r, volume_max); in cmd_status()
140 gbuf_addf(&buf, "set vol_right %d\n", vol_right); in cmd_status()
H A Dui_curses.c671 int buffer_fill, vol, vol_left, vol_right; in get_global_fopts() local
685 vol_left = vol_right = vol = -1; in get_global_fopts()
688 vol_right = soft_vol_r; in get_global_fopts()
689 vol = (vol_left + vol_right + 1) / 2; in get_global_fopts()
692 vol_right = scale_to_percentage(volume_r, volume_max); in get_global_fopts()
693 vol = (vol_left + vol_right + 1) / 2; in get_global_fopts()
709 fopt_set_int(&track_fopts[TF_RVOLUME], vol_right, vol_right < 0); in get_global_fopts()
H A Dmpris.c277 int vol_right = scale_to_percentage(volume_r, 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 Dcoreaudio.cc135 static int vol_left = 0, vol_right = 0; variable
190 vol_right = aud_get_int ("coreaudio", "vol_right"); in init()
349 return {vol_left, vol_right}; in get_volume()
358 vol_right = vol.right; in set_volume()
360 vol_max = aud::max (vol_left, vol_right); in set_volume()
363 aud_set_int ("coreaudio", "vol_right", vol_right); in set_volume()
/dports/games/libretro-mame2003_plus/mame2003-plus-libretro-17e9889/src/sndhrdw/
H A Dsnes_sndhrdw.c21 INT8 vol_right; member
39 INT8 vol_right; member
112 snes_dsp.voice[ii].vol_right = 0; in snes_sh_start()
189 snes_dsp.voice[(offset & 0xf0) >> 4].vol_right = data; in WRITE_HANDLER()
275 snes_dsp.vol_right = data; in WRITE_HANDLER()
/dports/games/libretro-mame2003/mame2003-libretro-4358db4/src/sndhrdw/
H A Dsnes_sndhrdw.c21 INT8 vol_right; member
39 INT8 vol_right; member
112 snes_dsp.voice[ii].vol_right = 0; in snes_sh_start()
189 snes_dsp.voice[(offset & 0xf0) >> 4].vol_right = data; in WRITE_HANDLER()
275 snes_dsp.vol_right = data; in WRITE_HANDLER()
/dports/audio/xmixer/xmixer/
H A Dgui_gtk.c85 int vol_left, vol_right = 0;
90 vol_right = mixer_get_vol_right (1, m->dev);
91 sprintf (buff, "%3d:%3d", vol_left, vol_right);
508 double vol_left, vol_right;
570 vol_left = vol_right = 100 - mixer_get_vol_left (1, i);
578 vol_right = 100 - mixer_get_vol_right (1, i);
579 adj = gtk_adjustment_new (vol_right, 0.0, 101.0, 1.0, 10.0, 1.0);
598 if (vol_left == vol_right) {
/dports/net/rdesktop/rdesktop-1.9.0/
H A Drdpsnd.c298 uint16 vol_left, vol_right; in rdpsnd_process_packet() local
374 in_uint16_le(s, vol_right); in rdpsnd_process_packet()
377 (unsigned) vol_left, (unsigned) vol_left / 655, (unsigned) vol_right, in rdpsnd_process_packet()
378 (unsigned) vol_right / 655); 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 DSound.h50 bool SetVolume(const float vol_left, const float vol_right);
H A DSound.cpp743 bool Event::SetVolume(const float vol_left, const float vol_right) in SetVolume() argument
750 wavstream[i].volume[1] = vol_right; in SetVolume()
752 wavstream[i].targetVolume[1] = vol_right; in SetVolume()
/dports/emulators/mess/mame-mame0226/src/devices/sound/
H A Dgb.h129 uint8_t vol_right; member

12