Searched refs:VOL_MASK (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/Audio/
H A DDevIchAc97.cpp138 #define VOL_MASK 0x1f macro
846 uint8_t rvol = VOL_MASK - (val & VOL_MASK);
847 uint8_t lvol = VOL_MASK - ((val >> 8) & VOL_MASK);
848 rvol = 255 * rvol / VOL_MASK;
849 lvol = 255 * lvol / VOL_MASK;
891 rvol = VOL_MASK - ((VOL_MASK * rvol) / 255);
892 lvol = VOL_MASK
[all...]

Completed in 1555 milliseconds