• Home
  • Raw
  • Download

Lines Matching refs:v

52 	if (sp->v.size == 0) {  in snd_emu10k1_sample_new()
54 "emu: rom font for sample %d\n", sp->v.sample); in snd_emu10k1_sample_new()
59 sp->v.end -= sp->v.start; in snd_emu10k1_sample_new()
60 sp->v.loopstart -= sp->v.start; in snd_emu10k1_sample_new()
61 sp->v.loopend -= sp->v.start; in snd_emu10k1_sample_new()
62 sp->v.start = 0; in snd_emu10k1_sample_new()
65 sampleend = sp->v.end; in snd_emu10k1_sample_new()
66 if (sampleend > sp->v.size) in snd_emu10k1_sample_new()
67 sampleend = sp->v.size; in snd_emu10k1_sample_new()
68 loopend = sp->v.loopend; in snd_emu10k1_sample_new()
73 if (sp->v.loopstart >= sp->v.loopend) { in snd_emu10k1_sample_new()
74 int tmp = sp->v.loopstart; in snd_emu10k1_sample_new()
75 sp->v.loopstart = sp->v.loopend; in snd_emu10k1_sample_new()
76 sp->v.loopend = tmp; in snd_emu10k1_sample_new()
80 truesize = sp->v.size + BLANK_HEAD_SIZE; in snd_emu10k1_sample_new()
83 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu10k1_sample_new()
84 loopsize = sp->v.loopend - sp->v.loopstart; in snd_emu10k1_sample_new()
87 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) in snd_emu10k1_sample_new()
92 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
102 sp->v.truesize = blocksize; in snd_emu10k1_sample_new()
107 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
116 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
130 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) { in snd_emu10k1_sample_new()
132 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) { in snd_emu10k1_sample_new()
150 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_BIDIR_LOOP) { in snd_emu10k1_sample_new()
151 sp->v.loopend += loopsize; in snd_emu10k1_sample_new()
153 sp->v.loopstart += loopsize; in snd_emu10k1_sample_new()
154 sp->v.loopend += loopsize; in snd_emu10k1_sample_new()
157 sp->v.end += loopsize; in snd_emu10k1_sample_new()
162 size = sp->v.size - loopend; in snd_emu10k1_sample_new()
165 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
178 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_NO_BLANK) { in snd_emu10k1_sample_new()
180 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_SINGLESHOT) { in snd_emu10k1_sample_new()
181 sp->v.loopstart = sp->v.end + BLANK_LOOP_START; in snd_emu10k1_sample_new()
182 sp->v.loopend = sp->v.end + BLANK_LOOP_END; in snd_emu10k1_sample_new()
187 if (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_UNSIGNED) { in snd_emu10k1_sample_new()
189 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) { in snd_emu10k1_sample_new()
202 if (! (sp->v.mode_flags & SNDRV_SFNT_SAMPLE_8BITS)) in snd_emu10k1_sample_new()
204 sp->v.start += start_addr; in snd_emu10k1_sample_new()
205 sp->v.end += start_addr; in snd_emu10k1_sample_new()
206 sp->v.loopstart += start_addr; in snd_emu10k1_sample_new()
207 sp->v.loopend += start_addr; in snd_emu10k1_sample_new()