Searched refs:level_cB (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/sys/dev/ic/ |
H A D | opl.c | 127 int opl_calc_vol(int regbyte, int16_t level_cB); 463 opl_calc_vol(int regbyte, int16_t level_cB) in opl_calc_vol() argument 474 level += ( -4 * level_cB ) / 30; in opl_calc_vol() 490 uint_fast16_t voice, midipitch_t mp, int16_t level_cB) in oplsyn_attackv() argument 492 oplsyn_setv(ms, voice, mp, level_cB, in oplsyn_attackv() 503 oplsyn_relevelv(midisyn *ms, uint_fast16_t voice, int16_t level_cB) in oplsyn_relevelv() argument 505 oplsyn_setv(ms, voice, 0, level_cB, OPLACT_LEVEL); in oplsyn_relevelv() 510 uint_fast16_t voice, midipitch_t mp, int16_t level_cB, int act) in oplsyn_setv() argument 526 mp, level_cB)); in oplsyn_setv() 561 vol0 = opl_calc_vol(ksl0, level_cB); in oplsyn_setv() [all …]
|
/netbsd-src/sys/dev/isa/ |
H A D | cms.c | 218 cms_on(midisyn *ms, uint_fast16_t vidx, midipitch_t mp, int16_t level_cB) in cms_on() argument 263 vol = 15 + ((level_cB > -75) ? level_cB/5 : -15); in cms_on()
|
/netbsd-src/sys/dev/ |
H A D | midisyn.c | 328 int16_t level_cB, uint_fast8_t vel) in midisyn_attackv_vel() argument 334 ms->mets->attackv(ms, voice, mp, level_cB + ms->voices[voice].velcB); in midisyn_attackv_vel()
|