Err ssplUnrequestBuffer (SoundSpooler *sspl, SoundBufferNode *sbn)
ssplUnrequestBuffer()
puts an unused SoundBufferNode from the requested queue back into the free queue. Use it as a way to politely give up write access to a SoundBufferNode that was given to you by ssplRequestBuffer()
that you aren't going to submit to ssplSendBuffer()
. For example, This can be used as part of a clean up path that traps failures between ssplRequestBuffer()
and ssplSendBuffer()
.
This is automatically done for all SoundBufferNodes in the requested list by ssplReset()
, ssplAbort()
, and ssplDeleteSoundSpooler()
.
ssplRequestBuffer
(), ssplSendBuffer()