Changeset 522 for GPL/trunk/alsa-kernel/synth
- Timestamp:
- Jul 22, 2010, 7:20:45 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk/alsa-kernel/synth/emux/soundfont.c
r426 r522 249 249 parm.type |= SNDRV_SFNT_PAT_SHARED; 250 250 sf = newsf(sflist, parm.type, NULL); 251 } else 251 } else 252 252 sf = newsf(sflist, parm.type, parm.name); 253 253 if (sf == NULL) { … … 543 543 count -= sizeof(hdr); 544 544 545 #pragma disable_message (136) 545 546 if (hdr.nvoices <= 0 || hdr.nvoices >= 100) { 547 #pragma enable_message (136) 546 548 printk(KERN_ERR "Soundfont error: Illegal voice number %d\n", 547 549 hdr.nvoices); … … 1066 1068 (patch.env_rate[5], patch.env_offset[4], 1067 1069 patch.env_offset[5]); 1068 zone->v.parm.volatkhld = 1070 zone->v.parm.volatkhld = 1069 1071 (snd_sf_calc_parm_hold(hold) << 8) | 1070 1072 snd_sf_calc_parm_attack(attack);
Note:
See TracChangeset
for help on using the changeset viewer.