Searched refs:NUM_EG1_FRAC_BITS (Results 1 – 6 of 6) sorted by relevance
154 #define NUM_EG1_FRAC_BITS 15 macro159 #define SYNTH_FULL_SCALE_EG1_GAIN (int32_t) ((0x1L << NUM_EG1_FRAC_BITS) -1)162 #define EG1_ONE (int32_t) ((0x1L << NUM_EG1_FRAC_BITS))186 >> NUM_EG1_FRAC_BITS \205 >> (NUM_EG1_FRAC_BITS -1) \234 #define CENTS_TO_DENTS (int32_t) (DENTS_ONE * (0x1L << NUM_EG1_FRAC_BITS) / 1200L) …277 (0x1L << NUM_EG1_FRAC_BITS) \281 #define LFO_GAIN_TO_CENTS (int32_t) (1671981156L >> (23 - NUM_EG1_FRAC_BITS))
664 ((pChannel->modWheel) << (NUM_EG1_FRAC_BITS -7))); in WT_UpdatePhaseInc()668 ((pChannel->channelPressure) << (NUM_EG1_FRAC_BITS -7))); in WT_UpdatePhaseInc()718 staticGain = MULT_EG1_EG1((pChannel->volume) << (NUM_EG1_FRAC_BITS - 7), in WT_UpdateChannel()719 (pChannel->expression) << (NUM_EG1_FRAC_BITS - 7)); in WT_UpdateChannel()781 temp = (pVoice->velocity) << (NUM_EG1_FRAC_BITS - 7); in WT_UpdateGain()
80 .equ NUM_EG1_FRAC_BITS, 15
105 ADD tmp1, tmp0, tmp1, ASR #(NUM_EG1_FRAC_BITS-6) @ tmp1 = tmp0 + (tmp1 >> (15-6))
113 ADD tmp1, tmp0, tmp1, ASR #(NUM_EG1_FRAC_BITS-6) @ tmp1 = tmp0 + (tmp1 >> (15-6))
643 tmp1 = tmp0 + (tmp1 >> NUM_EG1_FRAC_BITS); in WT_InterpolateMono()