Searched refs:sample1 (Results 1 – 1 of 1) sorted by relevance
84 int sample1, sample2, Volume; in gus_mixvoices() local90 sample1 = (*adr & 0xff) + (*(adr + 1) * 256); in gus_mixvoices()98 sample1 = (*adr) * 256; in gus_mixvoices()103 sample1 = (((sample1 * Volume) >> 16) * (512 - (CurrPos % 512))) / 512; in gus_mixvoices()105 sample1 += sample2; in gus_mixvoices()174 … *(bufferpos + 2 * sample) += (int16_t) ((sample1 * PanningPos) >> 4); /* right */ in gus_mixvoices()175 … *(bufferpos + 2 * sample + 1) += (int16_t) ((sample1 * (15 - PanningPos)) >> 4); /* left */ in gus_mixvoices()