3D sound error at 1024x768

Blitz3D Forums/Blitz3D Programming/3D sound error at 1024x768

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

This is truely strange. I receive a memory access violation error on loading a specific 3dSound ONLY when I'm running the program at 1024x768! Below is my code. When I run the program in any other resolution (640x480 -> 1600x1200), the code runs fine, but if I run it in 1024x768, I get the error, with the IDE pointing to Global Spray1 sound load.. If I comment out that load, the program loads fine. Kind of strange, but I don't want to eliminate that gfx mode from gameplay if I don't have to. Any thoughts?

; Load 3D - Sounds
Global SpawnSound = Load3DSound("Sounds\oceano.wav"):AddLoadBar()
Global FootfallGrass1 = Load3DSound("Sounds\GrassyStep3.wav"):AddLoadBar()
Global FootfallGrass2 = Load3DSound("Sounds\GrassyStep4.wav"):AddLoadBar()
Global Gun1 = Load3DSound("Sounds\Gun1.wav"):AddLoadBar()
Global Spray1 = Load3DSound("Sounds\105mmCN1.wav"):AddLoadBar() ;<<<<<<<<<<<<< This gives me the problems
Global Explosion1 = Load3DSound("Sounds\Explosion1.wav"):AddLoadBar()
Global PowerUP_Pop = Load3DSound("Sounds\PowerUp_Pop.wav"):AddLoadBar()
Global Rico_1 = Load3DSound("Sounds\Ricochet1.wav"):AddLoadBar()
Global Rico_2 = Load3DSound("Sounds\Ricochet2.wav"):AddLoadBar()
Global Whisk  = Load3DSound("Sounds\Whisk.wav"):AddLoadBar()

; Load Local Sounds