Searched refs:lvol (Results 1 - 5 of 5) sorted by relevance
/vbox/src/VBox/Devices/Audio/ |
H A D | audio.h | 162 void AUD_set_volume_out (SWVoiceOut *po, int mute, uint8_t lvol, uint8_t rvol); 163 void AUD_set_volume (audmixerctl_t mt, int *mute, uint8_t *lvol, uint8_t *rvol);
|
H A D | winaudio.c | 691 uint8_t *lvol, uint8_t *rvol) 703 vol = *mute ? 0 : ((*lvol * 100) / 256) | (((*rvol * 100) / 256) << 8); 727 *lvol = ((vol & 0xff) * 100) / 256; 762 uint8_t *lvol = va_arg (ap, uint8_t *); 765 ret = winmm_set_volume (m, mute, lvol, rvol);
|
H A D | DevIchAc97.cpp | 847 uint8_t lvol = VOL_MASK - ((val >> 8) & VOL_MASK); local 849 lvol = 255 * lvol / VOL_MASK; 857 PDMAUDIOVOLUME vol = { RT_BOOL(mute), lvol, rvol }; 882 AUD_set_volume_out(pThis->voice_po, mute, lvol, rvol); 884 AUD_set_volume(mt, &mute, &lvol, &rvol); 888 AUD_set_volume(mt, &mute, &lvol, &rvol); 892 lvol = VOL_MASK - ((VOL_MASK * lvol) / 255);
|
H A D | DevSB16.cpp | 1581 uint8_t lvol = pThis->mixer_regs[0x30]; local 1585 PDMAUDIOVOLUME vol = { RT_BOOL(mute), lvol, rvol }; 1588 AUD_set_volume(AUD_MIXER_VOLUME, &mute, &lvol, &rvol); 1596 uint8_t lvol = pThis->mixer_regs[0x32]; local 1600 PDMAUDIOVOLUME vol = { RT_BOOL(mute), lvol, rvol }; 1603 AUD_set_volume(AUD_MIXER_PCM, &mute, &lvol, &rvol);
|
H A D | audio.c | 1913 void AUD_set_volume_out (SWVoiceOut *sw, int mute, uint8_t lvol, uint8_t rvol) argument 1918 sw->vol.l = (uint32_t)lvol * 0x808080; /* maximum is INT_MAX = 0x7fffffff */ 1923 void AUD_set_volume (audmixerctl_t mt, int *mute, uint8_t *lvol, uint8_t *rvol) argument 1949 uint32_t u32VolumeLeft = (uint32_t)*lvol;
|
Completed in 2872 milliseconds