Lines Matching refs:loopsize
31 __maybe_unused int loopsize; in snd_emu10k1_sample_new() local
66 loopsize = 0; in snd_emu10k1_sample_new()
69 loopsize = sp->v.loopend - sp->v.loopstart; in snd_emu10k1_sample_new()
70 truesize += loopsize; in snd_emu10k1_sample_new()
121 if (offset + loopsize * 2 > blocksize) in snd_emu10k1_sample_new()
123 for (i = 0; i < loopsize; i++) in snd_emu10k1_sample_new()
125 offset += loopsize * 2; in snd_emu10k1_sample_new()
127 if (offset + loopsize > blocksize) in snd_emu10k1_sample_new()
129 for (i = 0; i < loopsize; i++) in snd_emu10k1_sample_new()
131 offset += loopsize; in snd_emu10k1_sample_new()
136 sp->v.loopend += loopsize; in snd_emu10k1_sample_new()
138 sp->v.loopstart += loopsize; in snd_emu10k1_sample_new()
139 sp->v.loopend += loopsize; in snd_emu10k1_sample_new()
142 sp->v.end += loopsize; in snd_emu10k1_sample_new()