Primary sound buffer
Posted: Sat Dec 29, 2007 6:40 pm
				
				Hi everybody! 
 
I recently had problems with sound (explained in this topic)
Well, after some researches I found out I could solve it, but I need the pointer to the primary sound buffer. The code probably looks like this:
In that case that retrieves the pointer to the screen's front buffer, which is not what I want. I just wanted to know what's the name of the pointer that PB uses for the sound buffer. Please give me some help!
			I recently had problems with sound (explained in this topic)
Well, after some researches I found out I could solve it, but I need the pointer to the primary sound buffer. The code probably looks like this:
Code: Select all
*DD.IDirectDrawSurface7
!EXTRN _PB_DirectX_PrimaryBuffer
!MOV eax,[_PB_DirectX_PrimaryBuffer]
!MOV [p_DD],eax