Failed to Queue Buffers Error

Hey! Recently I’ve run into a bizarre error with heaps involving io.

I am trying to write data to file “settings.ini” using:"res/settings.ini",data); 

where data is a string of content. This code compiles fine, but if it is ever executed during debugging
then on the next time I debug I am given the following error…

Failed to queue buffers: A003 (2)

Called from hxd.snd.openal.Driver.queueBuffer (hxd/snd/openal/Driver.hx line 153)
Called from hxd.snd.Manager.queueBuffer (hxd/snd/Manager.hx line 612)
Called from hxd.snd.Manager.update (hxd/snd/Manager.hx line 372)
Called from haxe.$MainLoop.tick (C:\HaxeToolkit\haxe\std/haxe/MainLoop.hx line 204)
Called from haxe.$MainLoop.~injectIntoEventLoop.0 (C:\HaxeToolkit\haxe\std/haxe/MainLoop.hx line 118)
Called from sys.thread.EventLoop.progress (C:\HaxeToolkit\haxe\std/sys/thread/EventLoop.hx line 114)
Called from hxd.$System.runMainLoop (hxd/System.hl.hx line 152)
Called from hxd.$System.runMainLoop (hxd/System.hl.hx line 142)
Called from haxe.$Timer.~delay.0 (C:\HaxeToolkit\haxe\std/haxe/Timer.hx line 144)
Called from haxe.$Timer.~constructor.0 (C:\HaxeToolkit\haxe\std/haxe/Timer.hx line 76)
Called from sys.thread.EventLoop.loop (C:\HaxeToolkit\haxe\std/sys/thread/EventLoop.hx line 150)
Called from sys.thread.Thread.$Thread_Impl.processEvents (C:\HaxeToolkit\haxe\std/hl/_std/sys/thread/Thread.hx line 62)

I am not certain why this error happens, or why it comes from a class related to audio of all things :confused:

Does anyone have any idea how to fix it?

Have you solved your issue? I have just encountered the same problem. Weird thing is I am pretty sure there was no such error yesterday on the same executable, it appeared just now when I wanted to test it one more time.

The whole error in my case is:

Failed to queue buffers: A004 (18)

Called from hxd.snd.openal.Driver.queueBuffer (hxd/snd/openal/Driver.hx line 153)
Called from hxd.snd.Manager.queueBuffer (hxd/snd/Manager.hx line 613)
Called from hxd.snd.Manager.update (hxd/snd/Manager.hx line 373)
Called from haxe.$MainLoop.tick (/media/atum/magnes/workspace/scripts/haxe/haxe-nightly/std/haxe/MainLoop.hx line 179)
Called from sys.thread.EventLoop.progress (/media/atum/magnes/workspace/scripts/haxe/haxe-nightly/std/sys/thread/EventLoop.hx line 146)
Called from hxd.$System.runMainLoop (hxd/System.hl.hx line 153)
Called from hxd.$System.runMainLoop (hxd/System.hl.hx line 143)
Called from haxe.$Timer.~delay.0 (/media/atum/magnes/workspace/scripts/haxe/haxe-nightly/std/haxe/Timer.hx line 149)
Called from haxe.$Timer.~constructor.0 (/media/atum/magnes/workspace/scripts/haxe/haxe-nightly/std/haxe/Timer.hx line 81)
Called from sys.thread.EventLoop.loop (/media/atum/magnes/workspace/scripts/haxe/haxe-nightly/std/sys/thread/EventLoop.hx line 183)
Called from sys.thread.Thread.$Thread_Impl.processEvents (/media/atum/magnes/workspace/scripts/haxe/haxe-nightly/std/hl/_std/sys/thread/Thread.hx line 83)

SOLVED: In my case it was adding spacialization effect. Weirdly just commenting out soundGroup.mono = true helped.