taglinefilesource code
samples147drivers/sound/gus_wave.cstatic struct patch_info samples[MAX_SAMPLE + 1];
samples559drivers/sound/gus_wave.cis16bits = (samples[instr_no].mode & WAVE_16_BITS) ? 1 : 0;  /* 8 or 16 bit samples */
samples1099drivers/sound/gus_wave.cdelta_freq = note_freq - samples[samplep].base_note;
samples1107drivers/sound/gus_wave.cif (samples[samplep].low_note <= note_freq && note_freq <= samples[samplep].high_note)
samples1110drivers/sound/gus_wave.csamplep = samples[samplep].key;  /* Follow link */
samples1121drivers/sound/gus_wave.cis16bits = (samples[sample].mode & WAVE_16_BITS) ? 1 : 0;  /* 8 or 16 bit samples */
samples1122drivers/sound/gus_wave.cvoices[voice].mode = samples[sample].mode;
samples1123drivers/sound/gus_wave.cvoices[voice].patch_vol = samples[sample].volume;
samples1131drivers/sound/gus_wave.cvoices[voice].env_rate[i] = samples[sample].env_rate[i];
samples1132drivers/sound/gus_wave.cvoices[voice].env_offset[i] = samples[sample].env_offset[i];
samples1138drivers/sound/gus_wave.cbase_note = samples[sample].base_note / 100;  /* To avoid overflows */
samples1141drivers/sound/gus_wave.cfreq = samples[sample].base_freq * note_freq / base_note;
samples1153drivers/sound/gus_wave.cpan = (samples[sample].panning + voices[voice].panning) / 32;
samples1160drivers/sound/gus_wave.cif (samples[sample].mode & WAVE_16_BITS)
samples1164drivers/sound/gus_wave.c((sample_ptrs[sample] + samples[sample].len) >> 18))
samples1184drivers/sound/gus_wave.cif (samples[sample].mode & WAVE_LOOP_BACK)
samples1185drivers/sound/gus_wave.cgus_write_addr (0x0a, sample_ptrs[sample] + samples[sample].len, is16bits);  /* Sample start=end */
samples1189drivers/sound/gus_wave.cif (samples[sample].mode & WAVE_LOOPING)
samples1193drivers/sound/gus_wave.cif (samples[sample].mode & WAVE_BIDIR_LOOP)
samples1196drivers/sound/gus_wave.cif (samples[sample].mode & WAVE_LOOP_BACK)
samples1199drivers/sound/gus_wave.csample_ptrs[sample] + samples[sample].loop_end, is16bits);
samples1203drivers/sound/gus_wave.cgus_write_addr (0x02, sample_ptrs[sample] + samples[sample].loop_start, is16bits);  /* Loop start location */
samples1204drivers/sound/gus_wave.cgus_write_addr (0x04, sample_ptrs[sample] + samples[sample].loop_end, is16bits);  /* Loop end location */
samples1213drivers/sound/gus_wave.cgus_write_addr (0x04, sample_ptrs[sample] + samples[sample].len, is16bits);  /* Loop end location */
samples1376drivers/sound/gus_wave.cmemcpy ((char *) &samples[free_sample], &patch, sizeof_patch);
samples1382drivers/sound/gus_wave.csamples[free_sample].key = patch_table[instr];
samples2161drivers/sound/gus_wave.cptr = samples[ptr].key;  /* Follow link */
samples2176drivers/sound/gus_wave.cptr = samples[ptr].key;  /* Follow link */
samples2191drivers/sound/gus_wave.cmemcpy (rec->data.data8, (char *) &samples[ptr],
samples2213drivers/sound/gus_wave.cif (pat->len > samples[ptr].len)  /* Cannot expand sample */
samples2216drivers/sound/gus_wave.cpat->key = samples[ptr].key;  /* Ensure the link is correct */
samples2218drivers/sound/gus_wave.cmemcpy ((char *) &samples[ptr], rec->data.data8,
samples2236drivers/sound/gus_wave.cif (offs < 0 || offs >= samples[sample].len)
samples2239drivers/sound/gus_wave.cn = samples[sample].len - offs;  /* Nr of bytes left */
samples2269drivers/sound/gus_wave.cif (offs < 0 || offs >= samples[sample].len)
samples2272drivers/sound/gus_wave.cn = samples[sample].len - offs;  /* Nr of bytes left */