Hi all,
One of my test application (which now starts to run with my latest D3D work) fails now due to a bug in DSound.
Basically, I have this :
trace:dsound:IDirectSoundImpl_DuplicateSoundBuffer (0x4040aa80,0x4861fad0,0x4199cf58) fixme:dsound:IDirectSoundImpl_DuplicateSoundBuffer need to duplicate 3D buffer trace:dsound:IDirectSoundBufferImpl_AddRef (0x4861fad0) ref was 2, thread is 0009 trace:dsound:IDirectSoundImpl_DuplicateSoundBuffer buffer count is now 4 trace:dsound:IDirectSoundBufferImpl_SetVolume (0x40463080,0)
And, of course, it crashes as the 'DuplicateSoundBuffer' code sets this :
(*ippdsb)->ds3db = NULL; /* FIXME? */
Now I could try to fix this, but well, DSound is not really the same than the last time I looked at it, so I will surely do this the wrong way.
Otherwise, I may give it a shot, but do not complain later that it's not the way it should have been done :-)
Lionel
I'm in the process of auditing and cleaning up the error propagation and checking in direct sound right now trying to locate problems in the maxpayne game and have found and fixed a few errors already. I'm tracking down another or possibly the same 3d buffer error right now. I hope to have a patch out in 24 hours. Would you be willing to try it out first before I release it to the list?
Lionel Ulmer wrote:
Hi all,
One of my test application (which now starts to run with my latest D3D work) fails now due to a bug in DSound.
Basically, I have this :
trace:dsound:IDirectSoundImpl_DuplicateSoundBuffer (0x4040aa80,0x4861fad0,0x4199cf58) fixme:dsound:IDirectSoundImpl_DuplicateSoundBuffer need to duplicate 3D buffer trace:dsound:IDirectSoundBufferImpl_AddRef (0x4861fad0) ref was 2, thread is 0009 trace:dsound:IDirectSoundImpl_DuplicateSoundBuffer buffer count is now 4 trace:dsound:IDirectSoundBufferImpl_SetVolume (0x40463080,0)
And, of course, it crashes as the 'DuplicateSoundBuffer' code sets this :
(*ippdsb)->ds3db = NULL; /* FIXME? */
Now I could try to fix this, but well, DSound is not really the same than the last time I looked at it, so I will surely do this the wrong way.
Otherwise, I may give it a shot, but do not complain later that it's not the way it should have been done :-)
Lionel
-- Lionel Ulmer - http://www.bbrox.org/
On Mon, May 19, 2003 at 06:18:46PM -0400, Robert Reif wrote:
I'm in the process of auditing and cleaning up the error propagation and checking in direct sound right now trying to locate problems in the maxpayne game and have found and fixed a few errors already. I'm tracking down another or possibly the same 3d buffer error right now. I hope to have a patch out in 24 hours. Would you be willing to try it out first before I release it to the list?
Well, no problem for me, but I doubt I will have much time in the next two days to test it. Anyway, it's not blocking for me anymore as I worked around the problem by hacking some stuff in the DSound code :-)
But still, thanks for the support...
Lionel
PS: the game demo I was using was 'ArxFatalis' in case you need another test case.