|
-
Feb 28th, 2001, 11:28 AM
#1
Thread Starter
New Member
Well i wrote a program which was usin intensively sounds (through a mm control) and i notice that after a day even my pIV gets slown, I guessed it was a leak in memory by the microsoft designed control, so i rewrote it with the sound API (
Private Declare Function mciSendString Lib "winmm.dll" Alias _
"mciSendStringA" (ByVal lpstrCommand As String, _
ByVal lpstrReturnString As String, _
ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
and so on... u know the rest... well a simple loop playing varioous short sounds continiously...). Same problem after a day the memory get filled!!! So, I beg ur help that really important please tell me how to play sounds during a long time without filling unrelentlessly my disk buffer or my RAM or whatever it is.... thx by advance!!!
-
Feb 28th, 2001, 09:56 PM
#2
PowerPoster
Are you closing the device that you had opened once you are through playing a file? I think this might be the problem as every open file would be taking its ow memory.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|