All of lore.kernel.org
 help / color / mirror / Atom feed
* [ALSA] emu10k1 driver oops loading large soundfont 2.6.3
@ 2004-02-23  5:23 Michael
  2004-02-23  5:44 ` Willy Tarreau
  0 siblings, 1 reply; 2+ messages in thread
From: Michael @ 2004-02-23  5:23 UTC (permalink / raw)
  To: linux-kernel

please CC: me on replies

In struct snd_emu10k1_memblk in include/sound/emu10k1.h first_page and 
last_page are defined as short.
                                                                                

Loading a soundfont that goes beyond 32767 pages causes an oops because 
{first|last}_page go negative in snd_emu10k1_sample_new 
(sound/pci/emu10k1/emu10k1_patch.c) as sfxload loads the font.

Changing {first|last}_page to int allows the soundfont to load and it 
appears to work fine.

-- 
Michael.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-02-23  5:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-23  5:23 [ALSA] emu10k1 driver oops loading large soundfont 2.6.3 Michael
2004-02-23  5:44 ` Willy Tarreau

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.