Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 8 of 8) sorted by relevance

/sound/pci/emu10k1/
Demu10k1_patch.c38 snd_emu10k1_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu10k1_sample_new() argument
49 if (snd_BUG_ON(!sp || !hdr)) in snd_emu10k1_sample_new()
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()
[all …]
Demu10k1_synth_local.h29 struct snd_sf_sample *sp,
33 struct snd_sf_sample *sp,
/sound/isa/sb/
Demu8000_patch.c147 snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp, in snd_emu8000_sample_new() argument
159 if (snd_BUG_ON(!sp)) in snd_emu8000_sample_new()
162 if (sp->v.size == 0) in snd_emu8000_sample_new()
166 if (sp->v.loopstart > sp->v.loopend) { in snd_emu8000_sample_new()
167 int tmp = sp->v.loopstart; in snd_emu8000_sample_new()
168 sp->v.loopstart = sp->v.loopend; in snd_emu8000_sample_new()
169 sp->v.loopend = tmp; in snd_emu8000_sample_new()
173 truesize = sp->v.size; in snd_emu8000_sample_new()
174 if (sp->v.mode_flags & (SNDRV_SFNT_SAMPLE_BIDIR_LOOP|SNDRV_SFNT_SAMPLE_REVERSE_LOOP)) in snd_emu8000_sample_new()
175 truesize += sp->v.loopend - sp->v.loopstart; in snd_emu8000_sample_new()
[all …]
Demu8000_local.h32 int snd_emu8000_sample_new(struct snd_emux *rec, struct snd_sf_sample *sp,
35 int snd_emu8000_sample_free(struct snd_emux *rec, struct snd_sf_sample *sp,
/sound/synth/emux/
Dsoundfont.c48 struct snd_soundfont *sf, struct snd_sf_sample *sp);
52 struct snd_soundfont *sf, struct snd_sf_sample *sp);
382 struct snd_sf_sample *sp) in set_sample_counter() argument
384 sp->counter = sflist->sample_counter++; in set_sample_counter()
395 struct snd_sf_sample *sp; in sf_sample_new() local
397 if ((sp = kzalloc(sizeof(*sp), GFP_KERNEL)) == NULL) in sf_sample_new()
400 sp->next = sf->samples; in sf_sample_new()
401 sf->samples = sp; in sf_sample_new()
403 set_sample_counter(sflist, sf, sp); in sf_sample_new()
404 return sp; in sf_sample_new()
[all …]
Demux.c69 static int sf_sample_new(void *private_data, struct snd_sf_sample *sp, in sf_sample_new() argument
74 return emu->ops.sample_new(emu, sp, hdr, buf, count); in sf_sample_new()
78 static int sf_sample_free(void *private_data, struct snd_sf_sample *sp, in sf_sample_free() argument
82 return emu->ops.sample_free(emu, sp, hdr); in sf_sample_free()
/sound/core/seq/
Dseq_ports.h124 struct snd_seq_client *s, struct snd_seq_client_port *sp,
130 struct snd_seq_client *s, struct snd_seq_client_port *sp,
/sound/oss/
Dvidc_fill.S137 stmfd sp!, {r4 - r8, lr}
187 ldmfd sp!, {r4 - r8, lr}