Searched refs:LIMITVALUE (Results 1 – 3 of 3) sorted by relevance
/linux/sound/synth/emux/ |
H A D | emux_synth.c | 23 #define LIMITVALUE(x, a, b) do { if ((x) < (a)) (x) = (a); else if ((x) > (b)) (x) = (b); } while (… macro 577 LIMITVALUE(vp->ftarget, 0, 255); in setup_voice() 653 LIMITVALUE(pan, 0, 255); in calc_pan() 749 LIMITVALUE(expression_vol, 0, 127); in calc_volume() 756 LIMITVALUE(vol, 0, 127); in calc_volume() 763 LIMITVALUE(main_vol, 0, 127); in calc_volume() 772 LIMITVALUE(master_vol, 0, 127); in calc_volume() 783 LIMITVALUE(vol, 0, 255); in calc_volume() 850 LIMITVALUE(offset, 0, 0xffff); in calc_pitch()
|
/linux/sound/pci/emu10k1/ |
H A D | emu10k1_callback.c | 44 #define LIMITVALUE(x, a, b) do { if ((x) < (a)) (x) = (a); else if ((x) > (b)) (x) = (b); } while (… macro 496 LIMITVALUE(pitch, -128, 127); in make_fmmod() 512 LIMITVALUE(pitch, -128, 127); in make_fm2frq2()
|
/linux/sound/isa/sb/ |
H A D | emu8000_callback.c | 45 #define LIMITVALUE(x, a, b) do { if ((x) < (a)) (x) = (a); else if ((x) > (b)) (x) = (b); } while (… macro 381 LIMITVALUE(pitch, -128, 127); in set_fmmod() 406 LIMITVALUE(pitch, -128, 127); in set_fm2frq2()
|