Xref: news2.mv.net comp.os.msdos.djgpp:7642 From: Elliott Oti Newsgroups: comp.os.msdos.djgpp Subject: SB05 sound lib problems Date: Mon, 19 Aug 1996 04:20:23 -0700 Organization: Academic Computer Centre Utrecht, (ACCU) Lines: 20 Message-ID: <32184DF7.7307@stud.warande.ruu.nl> NNTP-Posting-Host: warande1078.warande.ruu.nl Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Concerning the sb05 sound lib mod-playing routines: 1. On my machine (SBPro) if a program using sb05 routines is called first thing after startup, before any other sound-card utilising programs have been run,I get severe distortion & playback is very fuzzy. Briefly running another DMA-utilising program beforehand or calling sb_init() twice in succession seems to cure it. Has anyone else encountered the same problem, and are there any more elegant fixes? 2. I want to be able to loop mods in my program easily, but if I call sb_mod_play() when a song is finished (sb_active == FALSE) my program crashes with a GPE and a loud ringing tone. Reloading the mod from disk and replaying works fine, but that's rather inefficient. I figured, the mod's already loaded, why not just replay it, but that doesn't seem to work.I thought I'd ask first if anyone had any solutions b/4 hacking the sb05 source itself. Thanks Elliott mailto:war012 AT pop DOT cc DOT ruu DOT nl