Hi, there's no maintainer listed for the OpenAL package, so I'm posting here in hopes of finding the right person.<div><br></div><div>The unqueueBuffers function in Sound.OpenAL.AL.Source has the type<div><br></div><div>&nbsp; &nbsp; Source -&gt; [Buffer] -&gt; IO ()</div><div><br></div><div>but I think the type should be</div><div><br></div><div>&nbsp; &nbsp; Source -&gt; Int -&gt; IO [Buffer]</div><div><br></div><div>This wraps the function alSourceUnqueueBuffers which uses the array of buffers as an output argument. With the current implementation, it's impossible to get the list of buffers that were unqueued. This implementation works the way I expect:</div><div><br></div><div><div>&nbsp; &nbsp; unqueueBuffers :: AL.Source -&gt; Int -&gt; IO [AL.Buffer]</div><div>&nbsp; &nbsp; unqueueBuffers source nbuffers =</div><div>&nbsp; &nbsp; &nbsp; &nbsp; allocaArray nbuffers $ \ptr -&gt; do&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; alSourceUnqueueBuffers source (fromIntegral nbuffers) ptr</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; peekArray nbuffers ptr</div></div><div><br></div><div>I just started using OpenAL, so I might be misunderstanding how this is supposed to work.</div></div><div><br></div><div>Thanks,</div><div>Alex Midgley</div>