🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #16102

waveOutPrepareHeader and waveOutWrite

#16102
From: danny
Date: Fri, 30 May 2003 09:58
23 lines
1629 bytes
Hello,

I develop an application using BCB 4 playing PCM data to a soundcard
regularly, using waveOutPrepareHeader and waveOutWrite API. But the
application crashes ("Not responding" of the application, endless looping
may be)after running around half day, when looking at the call stack, it
turns out to be

wdmaud.drv
wdmaud.drv
winmm.dll
msacm32.drv
msacm32.drv
winmm.dll
....

It seems to be deadlock in wdmaud.drv, what are these files used for?? Does
there anyone know the reason why it crashes?? Is there any precautions to be
taken before using these APIs or any method to debug this problem?

Thanks.

Danny
Technical Details
Message-ID: <3ed72b64@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9d960b4314e92cca,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-30 03:26:01 PST
From: "danny" <danny@teleeye.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: waveOutPrepareHeader and waveOutWrite
Date: Fri, 30 May 2003 17:58:59 +0800
Lines: 26
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
NNTP-Posting-Host: 210.17.139.78
Message-ID: <3ed72b64@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054288740 210.17.139.78 (30 May 2003 02:59:00 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!216.166.71.118.MISMATCH!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail