| delorie.com/archives/browse.cgi | search |
| From: | DavMac AT iname DOT com (Davin McCall) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: SoundBlaster Interrupt Gets called only once! |
| Date: | Mon, 09 Aug 1999 01:36:33 GMT |
| Organization: | Monash Uni |
| Lines: | 21 |
| Distribution: | world |
| Message-ID: | <37ae3072.4343771@newsserver.cc.monash.edu.au> |
| References: | <37AC8021 DOT 2E57D173 AT geocities DOT com> |
| NNTP-Posting-Host: | damcc5.halls.monash.edu.au |
| X-Trace: | towncrier.cc.monash.edu.au 934162535 6597 130.194.198.138 (9 Aug 1999 01:35:35 GMT) |
| X-Complaints-To: | abuse AT monash DOT edu DOT au |
| NNTP-Posting-Date: | 9 Aug 1999 01:35:35 GMT |
| X-Newsreader: | Forte Free Agent 1.1/32.230 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Perhaps you have initialized the sound card for "one shot" mode rather
than auto-initialized? (or the same thing for the DMA controller?)
Davin.
On Sat, 07 Aug 1999 14:51:14 -0400, Sahab Yazdani
<beyonder69 AT geocities DOT com> wrote:
>I have some code that will play a RAW sound file. The problem is that
>the interrupt gets called only once! See I want to make it so that in
>the future I can mix some sounds together also. So the code for
>actually sending data has to be in the handler. But the handler gets
>called only once leaving me with a little click (the beginning portion
>of my sounnnd) I have all the dma addresses and stuff right, because if
>I make the buffer the size of the sound I get it loud and clear.
>Any help will be greatly appreciated!
__________________________________________________________
*** davmac - sharkin'!! davmac AT iname DOT com ***
my programming page: http://yoyo.cc.monash.edu.au/~davmac/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |