git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
sound
/
isa
/
gus
/
gus_sample.c
diff --git
a/sound/isa/gus/gus_sample.c
b/sound/isa/gus/gus_sample.c
index
44d4036
..
4290e03
100644
(file)
--- a/
sound/isa/gus/gus_sample.c
+++ b/
sound/isa/gus/gus_sample.c
@@
-42,7
+42,7
@@
static void select_instrument(snd_gus_card_t * gus, snd_gus_voice_t * v)
instr = snd_seq_instr_find(gus->gf1.ilist, &v->instr, 0, 1);
if (instr != NULL) {
if (instr->ops) {
instr = snd_seq_instr_find(gus->gf1.ilist, &v->instr, 0, 1);
if (instr != NULL) {
if (instr->ops) {
- if (
instr->ops->instr_type == snd_seq_simple_id
)
+ if (
!strcmp(instr->ops->instr_type, SNDRV_SEQ_INSTR_ID_SIMPLE)
)
snd_gf1_simple_init(v);
}
snd_seq_instr_free_use(gus->gf1.ilist, instr);
snd_gf1_simple_init(v);
}
snd_seq_instr_free_use(gus->gf1.ilist, instr);