Menu

ModPlugLine / News: Recent posts

Segfault troubles...

Apparently, modplugline segfaults on some computers. This seems to be an issue with some soundcards...(with flaky OSS drivers???)

Find the two lines that read :
ioctl(sndfd, SNDCTL_DSP_GETOSPACE, &buffinf);
if(int asked=buffinf.fragments*buffinf.fragsize)

and replace it by
if(int asked=20000)

This will work for now. If it skips or tends to freeze the player display, change the 20000 value to something else.

Posted by Moon Jihad 2002-02-22