DirectSound Guest
|
Posted: Thu Apr 03, 2008 5:16 am Post subject: |
|
|
Here it is.
| Code: | setting := 4 ; 1: Headphone, 4: Stereo, 8: 7.1 Surround, etc.
DllCall("dsound\DirectSoundCreate8", "Uint", 0, "UintP", pds, "Uint", 0)
DllCall(NumGet(NumGet(1*pds)+36), "Uint", pds, "Uint", setting)
DllCall(NumGet(NumGet(1*pds)+ 8), "Uint", pds)
|
|
|